Fix harness for fuzzer to run for 100 iterations only.
R=jkummerow@chromium.org TEST=tools/fuzz-harness.sh Review URL: https://chromiumcodereview.appspot.com/10409073 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11629 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
cae003513b
commit
596d7127d7
@ -64,6 +64,20 @@ 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 << 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'
|
||||
|
Loading…
Reference in New Issue
Block a user