-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
[infra] Enable bad_build_checks without test_all step that runs all the fuzzers. #814
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good in general, just one comment for consideration.
@@ -41,7 +41,7 @@ for FUZZER_BINARY in $(find $OUT/ -executable -type f); do | |||
export AFL_NO_UI=1 | |||
timeout --preserve-status -s INT 20s run_fuzzer $FUZZER | |||
fi | |||
bad_build_check $FUZZER_BINARY | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to prevent all this code duplication, could we just wrap lines 36-43 with another if? we can set an env var (e.g. SKIP_TEST_TARGET_RUN) that controls this in the container builder step.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using env var to control that SGTM! Will upload an update, thanks!
Done! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Kicked off build of |
Looks like we have to revert this again as there are lots of breakages:
Almost all of them seem valid though... |
…he fuzzers. (google#814) * [infra] Enable bad_build_checks without test_all step that runs all the fuzzers. * [infra] Add COPY step for test_all_for_bad_build script. * [infra] Use SKIP_TEST_TARGET_RUN=1 to avoid running all fuzz targets during test_all. * [infra] Invern the condition in test_all script. * [infra] Finally fix the condition in test_all.
As an alternative to a separate script, I can add an argument to
test_all
script. Something like--bad-build-checks-only
.