claude: Make Windows smoke tests fail-fast like Linux #13747
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a small quality-of-life change to the Windows tests, that I've been using in my branch for a while.
I find it convenient to see the error immediately when checking results in CI, rather than it printing a bunch of successes afterward. (And possibly more failures, I acknowledge.)
I think I got distracted one evening and asked Claude if it could figure out why this is, and it diagnosed it as "failing fast" in Linux but not on Windows. So I tried its suggestion.
@cderv, your choice whether to take or leave it. Maybe there are other reasons I don't know for logging errors and then continuing?
Description
When a test fails on Windows, exit immediately instead of continuing through remaining tests in the bucket. This matches Linux behavior (bash -e flag) and keeps test failures at the end of the log where they're easy to find, instead of buried under 1000+ lines of subsequent test output.