diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-28 18:24:47 +0100 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2020-12-28 18:24:47 +0100 |
commit | 42a1c81bbd4759dc50dfec089be35cb69c2ab088 (patch) | |
tree | 10ca1f992c674b61503ce3398542d60ac007c715 /testsuite/pyunit/libghdl | |
parent | 1c912a59c73a1ecb4c8b4d5d16bfc097d63d8546 (diff) | |
download | ghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.tar.gz ghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.tar.bz2 ghdl-42a1c81bbd4759dc50dfec089be35cb69c2ab088.zip |
Added testsuites so all Python unit tests can be run with a single command.
Diffstat (limited to 'testsuite/pyunit/libghdl')
-rw-r--r-- | testsuite/pyunit/libghdl/__init__.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/pyunit/libghdl/__init__.py b/testsuite/pyunit/libghdl/__init__.py new file mode 100644 index 000000000..24ce9e704 --- /dev/null +++ b/testsuite/pyunit/libghdl/__init__.py @@ -0,0 +1,10 @@ +from unittest import TestSuite + +from testsuite.pyunit.libghdl import Initialize + +def load_tests(loader, testCases, pattern): + suite = TestSuite() + + suite.addTests(loader.loadTestsFromModule(Initialize)) + + return suite |