Skip to content

Commit

Permalink
Fix build_all_fuzzers.sh for local runs (#2686)
Browse files Browse the repository at this point in the history
  • Loading branch information
tokatoka authored Nov 13, 2024
1 parent 7fada7d commit 5eff9c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_all_fuzzers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ cd "$SCRIPT_DIR/.." || exit 1
# TODO: This should be rewritten in rust, a Makefile, or some platform-independent language

if [[ -z "${RUN_ON_CI}" ]]; then
fuzzers=$(find ./fuzzers -mindepth 1 -maxdepth 1 -type d)
backtrace_fuzzers=$(find ./fuzzers/backtrace_baby_fuzzers -mindepth 1 -maxdepth 1 -type d)
fuzzers=$(find ./fuzzers -mindepth 2 -maxdepth 2 -type d)
backtrace_fuzzers=$(find ./fuzzers/baby/backtrace_baby_fuzzers -mindepth 1 -maxdepth 1 -type d)
else
cargo build -p build_and_test_fuzzers
fuzzers=$(cargo run -p build_and_test_fuzzers -- "remotes/origin/main" "HEAD^")
Expand Down

0 comments on commit 5eff9c0

Please sign in to comment.