You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the path key contains an invalid directory the problem is revealed only during the test execution (and can be quite hard to investigate). We should make sure that path exists for each tests identified during the discover step and warn user early.
The text was updated successfully, but these errors were encountered:
Actually, you have reproduced the issue well: During the test execution user gets:
Failed to write '/var/tmp/tmt/run-002/plans/foo/discover/default-0/tests/BADPATH/tmt-test-wrapper.sh'.
[Errno 2] No such file or directory: '/var/tmp/tmt/run-002/plans/foo/discover/default-0/tests/BADPATH/tmt-test-wrapper.sh'
Instead, it would be nice to give a clear warning during the discover steps that path: /BADPATH is invalid.
When the
path
key contains an invalid directory the problem is revealed only during the test execution (and can be quite hard to investigate). We should make sure thatpath
exists for each tests identified during thediscover
step and warn user early.The text was updated successfully, but these errors were encountered: