Skip to content

[test] Don't --failfast by default.#8341

Closed
sbc100 wants to merge 1 commit intomainfrom
failfast
Closed

[test] Don't --failfast by default.#8341
sbc100 wants to merge 1 commit intomainfrom
failfast

Conversation

@sbc100
Copy link
Member

@sbc100 sbc100 commented Feb 18, 2026

Normally this option default to false, and it seems like binaryen doesn't have a good reason to differ.

However, this setting (originally called --abort-on-first-failure) has always been enabled by default since its was first added back in #771.

Also name the option --failfast to match the name it has in the python unittest framework.

Normally this option default to false, and it seems like binaryen
doesn't have a good reason to differ.

However, this setting (originally called `--abort-on-first-failure`) has
always been enabled by default since its was first added back in #771.

Also name the option `--failfast` to match the name it has in the python
unittest framework.
@sbc100
Copy link
Member Author

sbc100 commented Feb 18, 2026

What do folks think? Does binaryen have a reason to always prefer to fail fast?

@sbc100 sbc100 requested review from kripken and tlively February 18, 2026 20:35
@sbc100
Copy link
Member Author

sbc100 commented Feb 18, 2026

Normally I guess this setting is not the default so that a given run can show all failures, not just the first one (I guess maybe on CI this is normally desirable..?)

@kripken
Copy link
Member

kripken commented Feb 18, 2026

Normally yes, though one issue we have here is that our test suite logging is very verbose. It is easy to get a failure and need to scroll back a lot to find it. I think fail-fast helps reduce this problem? Ideally we would fix the problem directly, of course...

@sbc100
Copy link
Member Author

sbc100 commented Feb 18, 2026

Ok, lets leave for now. We can revisit if things improve on the verbosity side.

@sbc100 sbc100 closed this Feb 18, 2026
@sbc100 sbc100 deleted the failfast branch February 18, 2026 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments