-
Notifications
You must be signed in to change notification settings - Fork 233
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
xdist munges error message if a requested path does not exist #109
Comments
And with older versions I had:
which had the error message but not the error exit code |
I get the same munging with xdist-1.15.1.dev10+ng68470d3 (e.g. HEAD) |
The version that does not munge error messages (but does not return a proper error exit code) is Pypi's |
Well, the behaviour changed exactly between 1.11 and 1.12 there. 1.12 returns a proper error code BUT munges the error message.
|
thanks for detailed investigation on when it was introduced |
@pombredanne how exactly is that error communicated to pytest? |
@RonnyPfannschmidt beats me... I would not know. At the moment this is not critical it just makes debugging this difficult because you only get an error "5" return code and no message is printed that would tell me that I asked for a path that does not exist at all |
Somehow I think that this is the commit that started the munge (and started returning a proper exit code too) d84f1f0 |
ping to @nicoddemus wrt that one then :) |
Thanks guys, I will take a look when I get a chance. 👍 |
Using code in this branch: aboutcode-org/scancode-toolkit#414 calling py.test on a non-existing path does not return an error message with xdist, it just runs no tests:
In contrast without xdist, it does print alright:
ERROR: file not found: MISSING
The text was updated successfully, but these errors were encountered: