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
{{ message }}
Repository navigation
If all tests are skipped, exit code is 0 not 8 #3216
Unsure whether you guys would consider this a bug, but it doesn't make sense in my head to try to execute a test suite and then skip everything. That would imply to me something has gone wrong.
And if you really did want to do that, you could just pass in --ignore-exit-code 8
So I'd want an error exit code to be returned to make me aware of that.
Hi Tom Longhurst (@thomhurst)! Let me test that out but I am surprised as this is the exact scenario being raised in #3121 where we do fail with exit code 8.
Hi Tom Longhurst (@thomhurst)! Let me test that out but I am surprised as this is the exact scenario being raised in #3121 where we do fail with exit code 8.
That's filtering and therefore discovering zero tests. This is discovering a test but setting the skipped state on the test node. So slightly different scenario
Just had a quick chat with Marco Rossignoli (@MarcoRossignoli) and we do think it makes sense and that exit code 8 should be reported here. Adding as a bug to current iteration so that it gets fixed before we release.
Activity
Evangelink commentedon Jul 10, 2024
Hi Tom Longhurst (@thomhurst)! Let me test that out but I am surprised as this is the exact scenario being raised in #3121 where we do fail with exit code 8.
thomhurst commentedon Jul 10, 2024
That's filtering and therefore discovering zero tests. This is discovering a test but setting the skipped state on the test node. So slightly different scenario
Evangelink commentedon Jul 10, 2024
Ah wait no sorry! Test is being reported in your example but in the linked issue the tests are not reported as skipped.
Evangelink commentedon Jul 10, 2024
Just had a quick chat with Marco Rossignoli (@MarcoRossignoli) and we do think it makes sense and that exit code 8 should be reported here. Adding as a bug to current iteration so that it gets fixed before we release.