Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: tools/fuzz-harness.sh

Issue 329303004: Make timestamp of fuzz harness archives finer grained. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright 2012 the V8 project authors. All rights reserved. 2 # Copyright 2012 the V8 project authors. All rights reserved.
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following 10 # copyright notice, this list of conditions and the following
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 logfilename = "w%d" % iteration 78 logfilename = "w%d" % iteration
79 one_timed_run(logfilename) 79 one_timed_run(logfilename)
80 EOF 80 EOF
81 fi 81 fi
82 82
83 flags='--debug-code --expose-gc --verify-gc' 83 flags='--debug-code --expose-gc --verify-gc'
84 python -u "$jsfunfuzz_dir/jsfunfuzz/multi_timed_run.py" 300 \ 84 python -u "$jsfunfuzz_dir/jsfunfuzz/multi_timed_run.py" 300 \
85 "$d8" $flags "$jsfunfuzz_dir/jsfunfuzz/jsfunfuzz.js" 85 "$d8" $flags "$jsfunfuzz_dir/jsfunfuzz/jsfunfuzz.js"
86 exit_code=$(cat w* | grep " looking good" -c) 86 exit_code=$(cat w* | grep " looking good" -c)
87 exit_code=$((100-exit_code)) 87 exit_code=$((100-exit_code))
88 tar -cjf fuzz-results-$(date +%y%m%d).tar.bz2 err-* w* 88 tar -cjf fuzz-results-$(date +%Y%m%d%H%M%S).tar.bz2 err-* w*
Michael Achenbach 2014/06/12 12:44:59 small y turned into big Y: intended?
Michael Starzinger 2014/06/12 18:52:47 Yes, intentional change to get "2014" instead of j
89 rm -f err-* w* 89 rm -f err-* w*
90 90
91 echo "Total failures: $exit_code" 91 echo "Total failures: $exit_code"
92 exit $exit_code 92 exit $exit_code
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698