From f8e700709132f7a65b0962c38379bf4c39033f12 Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Tue, 22 Jun 2021 22:49:06 +0200 Subject: Renamed AllVHDLSources to Sanity. Improved glob in Sanity check. Bound requirement for pyVHDLModel to Git branch. --- testsuite/pyunit/dom/AllSources.py | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 testsuite/pyunit/dom/AllSources.py (limited to 'testsuite/pyunit/dom/AllSources.py') 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 '") - 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) -- cgit v1.2.3