preserve rmax for fuzzer

This commit is contained in:
Lev Walkin 2017-10-24 00:59:32 -07:00
parent 9175a28a5a
commit e5f0d94aa9
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ compile_and_test() {
# Do a LibFuzzer based testing
fuzz_cmd="${ASAN_ENV_FLAGS} UBSAN_OPTIONS=print_stacktrace=1"
fuzz_cmd="${fuzz_cmd} ./random-test-driver"
fuzz_cmd="${fuzz_cmd} -timeout=3 -max_total_time=${FUZZ_TIME} -max_len=128"
fuzz_cmd="${fuzz_cmd} -timeout=3 -max_total_time=${FUZZ_TIME} -max_len=${rmax}"
if grep "^fuzz:" Makefile >/dev/null ; then
echo "No fuzzer defined, skipping fuzzing"