Revision: 11629
Author:   [email protected]
Date:     Wed May 23 00:55:38 2012
Log:      Fix harness for fuzzer to run for 100 iterations only.

[email protected]
TEST=tools/fuzz-harness.sh

Review URL: https://chromiumcodereview.appspot.com/10409073
http://code.google.com/p/v8/source/detail?r=11629

Modified:
 /branches/bleeding_edge/tools/fuzz-harness.sh

=======================================
--- /branches/bleeding_edge/tools/fuzz-harness.sh       Tue May 22 08:15:44 2012
+++ /branches/bleeding_edge/tools/fuzz-harness.sh       Wed May 23 00:55:38 2012
@@ -64,6 +64,20 @@
 if [ ! -d "$jsfunfuzz_dir" ]; then
   echo "Unpacking into $jsfunfuzz_dir ..."
   unzip "$jsfunfuzz_file" -d "$jsfunfuzz_dir" || exit 1
+  echo "Patching runner ..."
+  cat << EOF | patch -s -p0 -d "$v8_root"
+--- tools/jsfunfuzz/jsfunfuzz/multi_timed_run.py~
++++ tools/jsfunfuzz/jsfunfuzz/multi_timed_run.py
+@@ -125,7 +125,7 @@
+
+ def many_timed_runs():
+     iteration = 0
+-    while True:
++    while iteration < 100:
+         iteration += 1
+         logfilename = "w%d" % iteration
+         one_timed_run(logfilename)
+EOF
 fi

 flags='--debug-code --expose-gc --verify-gc'

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to