aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fuzzer/runners/nanopb_fuzzer_response_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzer/runners/nanopb_fuzzer_response_test.sh')
-rw-r--r--tools/fuzzer/runners/nanopb_fuzzer_response_test.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/fuzzer/runners/nanopb_fuzzer_response_test.sh b/tools/fuzzer/runners/nanopb_fuzzer_response_test.sh
index c2ea907a39..9db425bdcf 100644
--- a/tools/fuzzer/runners/nanopb_fuzzer_response_test.sh
+++ b/tools/fuzzer/runners/nanopb_fuzzer_response_test.sh
@@ -29,7 +29,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-flags="-max_total_time=3600 -jobs=3 -workers=3 -artifact_prefix=fuzzer_output/ -max_len=128"
+flags="-max_total_time=$runtime -artifact_prefix=fuzzer_output/ -max_len=128 -timeout=120"
+
+
+if [ "$jobs" != "1" ]
+then
+ flags="-jobs=$jobs -workers=$jobs $flags"
+fi
+
if [ "$config" == "asan-trace-cmp" ]
then
flags="-use_traces=1 $flags"