diff options
Diffstat (limited to 'testsuite/python/units01/show_units.py')
-rwxr-xr-x | testsuite/python/units01/show_units.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/python/units01/show_units.py b/testsuite/python/units01/show_units.py index 9207bde8c..43baf9aed 100755 --- a/testsuite/python/units01/show_units.py +++ b/testsuite/python/units01/show_units.py @@ -14,8 +14,8 @@ def init(): # Set options. This must be done before analyze_init() libghdl.set_option(b"--std=08") # Finish initialization. This will load the standard package - libghdl.analyze_init() - + if libghdl.analyze_init_status() != 0: + raise Exception("libghdl initialization error") def get_identifier_ptr(n): """Return the python string from node :param n: identifier""" |