-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Don't bail out on test errors by default #10835
Conversation
fwiw, i think it's good to run to completion on CI also. just so long as any failure poisons the final return value from runtests to cause |
Sounds fine to me. That is easy to do for the |
I don't see why running This looks like a very positive change to me, and I'm all in favor of it. |
The case I am talking about is Maybe that is ok? I don't care about the limited multi-target case very On Wed, Apr 15, 2015 at 3:01 PM, Elliot Saba [email protected]
|
i'm not sure there's much you can do about that case. this pull request (or my suggestion) shouldn't change the current behavior of that case anyways, since we should always be calling |
Just so that we are aware - for a single worker case, all tests will not be run in case of an error, even with |
Adds check for JL_TESTFAILURE_STOP environment variable to control fail-on-error.
c939e65
to
ddd1b02
Compare
I really would like a status at the end that says 5 out of 5000 tests failed or something like that. |
I think you are confusing |
But I wish it were at the test level. |
@ViralBShah - ref #9398 |
Fixed by #13062 |
I don't always run tests
But when I do, I ignore the failures.
Seriously though: when I run all tests locally, it is because I want to know the status of all of them for individual investigation later (e.g. #10394). Tests are slow in general, really slow on Windows, and painfully slow with MCJIT on Windows. Stopping the run due to a (possibly random) failure in the middle of the list is unhelpful because it only tells me about one test failure at a time. (I usually go away when running tests because my 2-core 3320 gets really sluggish).
This PR makes the test suite continue through errors by default, and adds a check for the environment variable
JL_TESTFAILURE_STOP
for use on the CI systems.