diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-05-17 21:14:58 +0200 |
---|---|---|
committer | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2022-06-18 01:32:16 +0200 |
commit | ea72eb4f0703b16e935dc6f41f54bc94739a18f3 (patch) | |
tree | d8be9b0db22eda93b7e52a9b69fabe015ddde620 /testsuite | |
parent | dacb6ca492a1bf0d1b352615c0435826891a0fc0 (diff) | |
download | ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.tar.gz ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.tar.bz2 ghdl-ea72eb4f0703b16e935dc6f41f54bc94739a18f3.zip |
Fixed failing sanity checks for pyGHDL.dom in coverage job.
Diffstat (limited to 'testsuite')
-rw-r--r-- | testsuite/pyunit/dom/Sanity.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/pyunit/dom/Sanity.py b/testsuite/pyunit/dom/Sanity.py index cc321acc7..0d84687ba 100644 --- a/testsuite/pyunit/dom/Sanity.py +++ b/testsuite/pyunit/dom/Sanity.py @@ -13,7 +13,7 @@ # # License: # ============================================================================ -# Copyright (C) 2019-2021 Tristan Gingold +# Copyright (C) 2019-2022 Tristan Gingold # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,10 +46,9 @@ if __name__ == "__main__": _TESTSUITE_ROOT = Path(__file__).parent.parent.parent.resolve() _GHDL_ROOT = _TESTSUITE_ROOT.parent +# design = Design() -design = Design() - -@mark.parametrize("file", [str(f.relative_to(_TESTSUITE_ROOT)) for f in _TESTSUITE_ROOT.glob("sanity/**/*.vhdl")]) +@mark.parametrize("file", [str(f.relative_to(_GHDL_ROOT)) for f in _TESTSUITE_ROOT.glob("sanity/**/*.vhdl")]) def test_AllVHDLSources(file): check_call([sys_executable, _GHDL_ROOT / "pyGHDL/cli/dom.py", "pretty", "-f", file], stderr=STDOUT) |