aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/fuzzer/runners/json_fuzzer_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fuzzer/runners/json_fuzzer_test.sh')
-rw-r--r--tools/fuzzer/runners/json_fuzzer_test.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/fuzzer/runners/json_fuzzer_test.sh b/tools/fuzzer/runners/json_fuzzer_test.sh
index 2b0770a505..1cd3d55d1b 100644
--- a/tools/fuzzer/runners/json_fuzzer_test.sh
+++ b/tools/fuzzer/runners/json_fuzzer_test.sh
@@ -29,4 +29,10 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-bins/$config/json_fuzzer_test -max_total_time=3600 fuzzer_output test/core/json/corpus
+flags="-max_total_time=3600"
+if [ "$config" == "asan-trace-cmp" ]
+then
+ flags="-use_traces=1 $flags"
+fi
+
+bins/$config/json_fuzzer_test $flags fuzzer_output test/core/json/corpus