Join GitHub today
test: make tests cwd-independent #12812
Affected core subsystem(s)
Editing and checking various tests, I've sometimes stumbled on cases when tests failed depending on cwd. So I've run all the tests with this simple script to find out cwd-dependent tests. The script runs all tests from repo root (default test runner
So I've found out these 3 cwd-dependent tests:
After this PR, these tests can be launched from any cwd.
Trott left a comment •
LGTM if CI is green.
It might be over-engineering, but perhaps a way to guard against this coming up with future tests would be to to have the