Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEST execute dom Sanity tests with a single instance #1846

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

umarcor
Copy link
Member

@umarcor umarcor commented Aug 24, 2021

This is to keep track of a very annoying problem which we could not understand yet.

Currently, the testsuite of the DOM executes each test isolated, by calling ghdl-dom as an external program. It ensures that each file is analysed on its own. We did so because of the problems we had when analysing too many files. Those problems are solved now, so we don't need to keep using executable from sys.

However, for some unexplained reason, if we do "reuse" the instance some other apparently unrelated tests in other files do fail. Precisely, pyunit/dom/SimpleEntity.py and pyunit/dom/SimplePackage.py fail, despite the change in this PR being related to pyunit/dom/Sanity.py.

We don't know whether that's related to libghdl, pyGHDL or pytest. This is not a regression, but something we avoided since the beginning (#1797 (comment)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant