Skip to content
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

fix: fix cargo bolero list when some tests are failing #195

Merged
merged 3 commits into from
Nov 8, 2023

Conversation

Ekleog-NEAR
Copy link
Contributor

@Ekleog-NEAR Ekleog-NEAR commented Nov 8, 2023

Before this change, cargo bolero list would ignore any fuzzers defined after a binary with one failing test. With this change, it properly lists all fuzzers.

This was prompted by my discovering our fuzzing infra’s builds with cargo bolero build-clusterfuzz had empty fuzzer tarballs, because one test was failing before the fuzzers were discovered.

I also added a regression test.

Before this change, `cargo bolero list` would ignore any fuzzers
defined after a binary with one failing test. With this change, it
properly lists all fuzzers.

This was prompted by my discovering our fuzzing infra’s builds with
`cargo bolero build-clusterfuzz` had empty fuzzer tarballs, because
one test was failing before the fuzzers were discovered.
@camshaft camshaft merged commit 0c6f78f into camshaft:master Nov 8, 2023
@camshaft
Copy link
Owner

camshaft commented Nov 8, 2023

Thanks!

@Ekleog-NEAR
Copy link
Contributor Author

Thank you for the quick merge! :)

A proper fix would be #196 (I couldn’t find the place where we had already discussed this), but hopefully this’ll make do in the meantime :)

github-merge-queue bot pushed a commit to near/nearcore that referenced this pull request Nov 9, 2023
… tests (#10131)

We have tests that fail with `cargo test`, and this throws off `cargo
bolero list`, that runs `cargo test` to list the fuzzers.

With this change, we add camshaft/bolero#195, that ignores such failures
and actually lists all fuzzers.

This should fix the issue, that all the latest uploads to the fuzzers
bucket actually were empty tarballs.

---------

Co-authored-by: Simonas Kazlauskas <[email protected]>
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