Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: ensure we provide the test dir to pytest
The RPM and vmcore test runners omitted the "tests" directoy. This meant that pytest was searching the entire working directory for tests. This is fine in CI tests, because there isn't much extra data in the git checkout. But for local/developer test runs, this is a problem, because the "testdata" directory contains lots of extra data, including extracted RPMs which have some python code. This causes errors when pytest attempts to collect and run tests from those files. The heavyvm and litevm tests already provide the tests/ directory as a command line argument. Orabug: 37307170 Signed-off-by: Stephen Brennan <[email protected]>
- Loading branch information