diff options
author | Patrick Lehmann <Patrick.Lehmann@plc2.de> | 2021-08-13 22:21:04 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-08-23 16:35:35 +0200 |
commit | c4326161ce97d3286e8dffe31d0c168e05f3f9ea (patch) | |
tree | 954166bc0eb0dcf1a538716aadf840dab62bb871 /testsuite/pyunit | |
parent | 357cb9746c53e3f32fc9c2f28686c25e388918c3 (diff) | |
download | ghdl-c4326161ce97d3286e8dffe31d0c168e05f3f9ea.tar.gz ghdl-c4326161ce97d3286e8dffe31d0c168e05f3f9ea.tar.bz2 ghdl-c4326161ce97d3286e8dffe31d0c168e05f3f9ea.zip |
Improved handling of ranges (e.g. via attribute names).
Diffstat (limited to 'testsuite/pyunit')
-rw-r--r-- | testsuite/pyunit/dom/Sanity.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuite/pyunit/dom/Sanity.py b/testsuite/pyunit/dom/Sanity.py index adf838646..cc321acc7 100644 --- a/testsuite/pyunit/dom/Sanity.py +++ b/testsuite/pyunit/dom/Sanity.py @@ -53,5 +53,9 @@ design = Design() def test_AllVHDLSources(file): check_call([sys_executable, _GHDL_ROOT / "pyGHDL/cli/dom.py", "pretty", "-f", file], stderr=STDOUT) -# document = Document(Path(file)) -# design.Documents.append(document) + # try: + # lib = design.GetLibrary("sanity") + # document = Document(Path(file)) + # design.AddDocument(document, lib) + # except DOMException as ex: + # print(ex) |