Skip to content

Commit

Permalink
Rename flags
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Apr 2, 2024
1 parent 719e103 commit 211407c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/oss-fuzz/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ then
this_dir=\$(dirname \"\$0\")
export TEST_DATA_DIRS=\$this_dir/corpus
chmod +x \$this_dir/$fuzz_basename
ARGS=\$*
ARGS=`sed "s/-timeout=\\([0-9]\\+\\)/--fuzz_for=\1s/g" \${ARGS}`
ARGS=`sed "s/-rss_limit_mb/--rss_limit_mb/g" \${ARGS}`
ARGS=`sed "s/-runs=\\([0-9]\\+\\)/ /g}" \${ARGS}`
\$this_dir/$fuzz_basename --fuzz=$fuzz_entrypoint -- \$@
chmod -x \$this_dir/$fuzz_basename" > $OUT/$TARGET_FUZZER
chmod +x $OUT/$TARGET_FUZZER
Expand Down

0 comments on commit 211407c

Please sign in to comment.