From 8e63368b8e2cbfddcb5441da7cc7574a8894e2fc Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 22 Nov 2018 12:07:03 -0800 Subject: [PATCH] exec_tests.sh: test both with and without guard pages --- tools/exec_tests.sh | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/tools/exec_tests.sh b/tools/exec_tests.sh index 6d06b6e..2a66fb6 100644 --- a/tools/exec_tests.sh +++ b/tools/exec_tests.sh @@ -11,19 +11,24 @@ run_cmd() { run_cmd ./test_checksums -for format in '' '-g' '-z'; do - for ref_impl in '' '-Y' '-Z'; do - run_cmd ./benchmark $format $ref_impl $SMOKEDATA +for debug_args in '' '-G'; do + for format in '' '-g' '-z'; do + for ref_impl in '' '-Y' '-Z'; do + run_cmd ./benchmark $format $debug_args $ref_impl \ + $SMOKEDATA + done done -done -for level in 1 3 7 9; do - for ref_impl in '' '-Y'; do - run_cmd ./benchmark -$level $ref_impl $SMOKEDATA + for level in 1 3 7 9; do + for ref_impl in '' '-Y'; do + run_cmd ./benchmark -$level $debug_args $ref_impl \ + $SMOKEDATA + done done -done -for level in 1 3 7 9 12; do - for ref_impl in '' '-Z'; do - run_cmd ./benchmark -$level $ref_impl $SMOKEDATA + for level in 1 3 7 9 12; do + for ref_impl in '' '-Z'; do + run_cmd ./benchmark -$level $debug_args $ref_impl \ + $SMOKEDATA + done done done