aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/pyunit/dom/AllSources.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 22:49:06 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 22:49:06 +0200
commitf8e700709132f7a65b0962c38379bf4c39033f12 (patch)
tree7c695353b072876c8d2fe930382db588483efa1e /testsuite/pyunit/dom/AllSources.py
parentcebb4aec31557a9235ff6c5666fd6b71864788eb (diff)
downloadghdl-f8e700709132f7a65b0962c38379bf4c39033f12.tar.gz
ghdl-f8e700709132f7a65b0962c38379bf4c39033f12.tar.bz2
ghdl-f8e700709132f7a65b0962c38379bf4c39033f12.zip
Renamed AllVHDLSources to Sanity.
Improved glob in Sanity check. Bound requirement for pyVHDLModel to Git branch.
Diffstat (limited to 'testsuite/pyunit/dom/AllSources.py')
-rw-r--r--testsuite/pyunit/dom/AllSources.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/testsuite/pyunit/dom/AllSources.py b/testsuite/pyunit/dom/AllSources.py
deleted file mode 100644
index 7dabf1b10..000000000
--- a/testsuite/pyunit/dom/AllSources.py
+++ /dev/null
@@ -1,23 +0,0 @@
-from sys import executable
-from subprocess import check_call, STDOUT
-from pathlib import Path
-from glob import glob
-from pytest import mark
-
-if __name__ == "__main__":
- print("ERROR: you called a testcase declaration file as an executable module.")
- print("Use: 'python -m unitest <testcase module>'")
- exit(1)
-
-
-@mark.parametrize(
- "file",
- glob(str(Path(__file__).resolve().parent.parent.parent / 'sanity' / '*' / '*.vhdl'), recursive=True)
-)
-@mark.xfail
-def test_AllVHDLSources(file):
- check_call([
- executable,
- str(Path(__file__).resolve().parent.parent.parent.parent / 'pyGHDL' / 'cli' / 'DOM.py'),
- file
- ], stderr=STDOUT)