From 98054aaf2a21d3fab0fbaff4d347048d0d507413 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 29 Dec 2020 09:56:33 +0100 Subject: Activated 'analyze_init_status' in Python code. --- testsuite/pyunit/libghdl/Initialize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite') diff --git a/testsuite/pyunit/libghdl/Initialize.py b/testsuite/pyunit/libghdl/Initialize.py index 7ad00a995..0a46fe8b4 100644 --- a/testsuite/pyunit/libghdl/Initialize.py +++ b/testsuite/pyunit/libghdl/Initialize.py @@ -31,8 +31,8 @@ class Instantiate(TestCase): libghdl.set_option(b"--std=08") # Finish initialization. This will load the standard package. -# if libghdl.analyze_init_status() != 0: -# self.fail("libghdl initialization error") + if libghdl.analyze_init_status() != 0: + self.fail("libghdl initialization error") # Load the file file_id = name_table.Get_Identifier(str(self._filename).encode("utf_8")) -- cgit v1.2.3