Reviewers: Jakob,
Message:
Of course there were local modifications on the Buildbot to the runner as
well.
This patches the runner accordingly after unpacking it. Already uploaded
this
change to the Buildbot, so that it doesn't go berserk over night.
Description:
Fix harness for fuzzer to run for 100 iterations only.
[email protected]
TEST=tools/fuzz-harness.sh
Please review this at https://chromiumcodereview.appspot.com/10409073/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M tools/fuzz-harness.sh
Index: tools/fuzz-harness.sh
diff --git a/tools/fuzz-harness.sh b/tools/fuzz-harness.sh
index
25c6bef42169f2e74e37ecfcacb1562cf18f03c3..0dc41fe503d9513763ac8ff40db21256e9e70d1e
100755
--- a/tools/fuzz-harness.sh
+++ b/tools/fuzz-harness.sh
@@ -64,6 +64,21 @@ jsfunfuzz_dir="$v8_root/tools/jsfunfuzz"
if [ ! -d "$jsfunfuzz_dir" ]; then
echo "Unpacking into $jsfunfuzz_dir ..."
unzip "$jsfunfuzz_file" -d "$jsfunfuzz_dir" || exit 1
+ echo "Patching runner ..."
+ cat > "$v8_root/tools/jsfunfuzz.patch" <<- EOF
+--- 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
+ patch -s -p0 -d "$v8_root" < "$v8_root/tools/jsfunfuzz.patch"
fi
flags='--debug-code --expose-gc --verify-gc'
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev