aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/python/units01/show_ports.py
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/python/units01/show_ports.py')
-rw-r--r--testsuite/python/units01/show_ports.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/python/units01/show_ports.py b/testsuite/python/units01/show_ports.py
index 0076e4779..31c680817 100644
--- a/testsuite/python/units01/show_ports.py
+++ b/testsuite/python/units01/show_ports.py
@@ -8,6 +8,7 @@ from libghdl.thin import files_map
from libghdl.thin.vhdl import nodes
from libghdl.thin.vhdl import sem_lib
from libghdl.thin.vhdl import pyutils
+from libghdl.thin import errorout_console
def get_identifier_ptr(n):
@@ -98,6 +99,7 @@ def list_units(filename):
if __name__ == "__main__":
# Initialization: set options and then load libaries
+ errorout_console.Install_Handler()
libghdl.set_option(b"--std=08")
libghdl.analyze_init()