mirror of https://gerrit.osmocom.org/asn1c
preserve rmax for fuzzer
This commit is contained in:
parent
9175a28a5a
commit
e5f0d94aa9
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue