File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,9 @@ cargo --color always hfuzz build -j8
3333for TARGET in src/bin/* .rs; do
3434 FILENAME=$( basename $TARGET )
3535 FILE=" ${FILENAME% .* } "
36- HFUZZ_RUN_ARGS=" --exit_upon_crash -v -n8"
37- if [ " $FILE " = " chanmon_consistency_target" ]; then
38- HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -F 64 -N1000"
39- elif [ " $FILE " = " process_network_graph_target" -o " $FILE " = " full_stack_target" -o " $FILE " = " router_target" -o " $FILE " = " lsps_message_target" ]; then
40- HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -N10000"
41- elif [ " $FILE " = " indexedmap_target" ]; then
42- HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -N100000"
43- elif [ " $FILE " = " fs_store_target" ]; then
44- HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -F 64 -N10000"
45- else
46- HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -N1000000"
36+ HFUZZ_RUN_ARGS=" --exit_upon_crash -v -n8 --run_time 30"
37+ if [ " $FILE " = " chanmon_consistency_target" -o " $FILE " = " fs_store_target" ]; then
38+ HFUZZ_RUN_ARGS=" $HFUZZ_RUN_ARGS -F 64"
4739 fi
4840 export HFUZZ_RUN_ARGS
4941 cargo --color always hfuzz run $FILE
You can’t perform that action at this time.
0 commit comments