[Spice-devel] [PATCH spice-common 3/4] codegen: Exit with error on error generating C structures
Frediano Ziglio
fziglio at redhat.com
Tue Aug 13 16:56:07 UTC 2019
This was some left-over during development of C structure
generations (the single structure generation was skipped).
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
spice_codegen.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/spice_codegen.py b/spice_codegen.py
index 0532d6f..d3a1bf5 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -283,6 +283,7 @@ current:
print >> sys.stderr, 'type %s' % t
print >> sys.stderr, writer.getvalue()
traceback.print_exc(sys.stderr)
+ sys.exit(1)
def generate_declarations():
writer = codegen.CodeWriter()
--
2.20.1
More information about the Spice-devel
mailing list