Add option to bail out of jake runtests when a test fails#8925
Add option to bail out of jake runtests when a test fails#8925
jake runtests when a test fails#8925Conversation
|
Hi @Andy-MS, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
TTYL, MSBOT; |
jake runtests on when a test failsjake runtests when a test fails
|
👍 For parallel runs, |
Jakefile.js
Outdated
| counter--; | ||
|
|
||
| if (bail && errorStatus !== undefined) { | ||
| failWithStatus(firstErrorStatus); |
There was a problem hiding this comment.
Does this fail with the correct number of errors? I don't think firstErrorStatus would be assigned until after the next if block.
I guess the fix would be to move below the next if block or just return errorStatus
|
I commented on the commit by mistake so it doesn't show up on this page. |
|
Do you want to just drop the parallel commit? The parallel code is now very complex and it runs in 30-60 seconds, so there's not much point in bailing anyway. |
|
Good idea. Replacing with #9146 |
Currently serial only. For parallel we would need a way to notify all other running processes to stop.