aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/libghdl/Initialize.py
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-12-30 10:29:16 +0100
committerTristan Gingold <tgingold@free.fr>2020-12-30 10:29:16 +0100
commitf1c30ad16e0914455ee2c84e80714f6b271021f2 (patch)
tree11ebb7a91faeed8c17fdaf84cd8cd14d334d8c6a /testsuite/pyunit/libghdl/Initialize.py
parent56dde6c446367f85882d288d7606015ace7f80ed (diff)
downloadghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.gz
ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.tar.bz2
ghdl-f1c30ad16e0914455ee2c84e80714f6b271021f2.zip
Rework initialization and finalization.
libghdl can now be re-initialized.
Diffstat (limited to 'testsuite/pyunit/libghdl/Initialize.py')
-rw-r--r--testsuite/pyunit/libghdl/Initialize.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/Initialize.py b/testsuite/pyunit/libghdl/Initialize.py
index 0a46fe8b4..ccc157fd7 100644
--- a/testsuite/pyunit/libghdl/Initialize.py
+++ b/testsuite/pyunit/libghdl/Initialize.py
@@ -23,6 +23,7 @@ class Instantiate(TestCase):
def test_InitializeGHDL(self) -> None:
"""Initialization: set options and then load libaries"""
+ libghdl.initialize()
# Print error messages on the console.
errorout_console.Install_Handler()