From c4326161ce97d3286e8dffe31d0c168e05f3f9ea Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Fri, 13 Aug 2021 22:21:04 +0200 Subject: Improved handling of ranges (e.g. via attribute names). --- testsuite/pyunit/dom/Sanity.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testsuite/pyunit/dom/Sanity.py') 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) -- cgit v1.2.3