Reviewers: Søren Gjesse,
Description:
Add flag for running with a non standard number of stress-runs.
This allows easy testing with more than 5/2 stress runs in
release/debug and will allow us to have a nightly run with e.g., 10
stress runs in debug mode.
Please review this at http://codereview.chromium.org/5903003/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files:
M src/api.cc
M src/flag-definitions.h
Index: src/api.cc
===================================================================
--- src/api.cc (revision 6042)
+++ src/api.cc (working copy)
@@ -4979,6 +4979,7 @@
}
int Testing::GetStressRuns() {
+ if (internal::FLAG_stress_runs != 0) return internal::FLAG_stress_runs;
#ifdef DEBUG
// In debug mode the code runs much slower so stressing will only make
two
// runs.
Index: src/flag-definitions.h
===================================================================
--- src/flag-definitions.h (revision 6042)
+++ src/flag-definitions.h (working copy)
@@ -141,6 +141,7 @@
DEFINE_bool(use_osr, false, "use on-stack replacement")
#endif
DEFINE_bool(trace_osr, false, "trace on-stack replacement")
+DEFINE_int(stress_runs, 0, "number of stress runs")
// assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
DEFINE_bool(debug_code, false,
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev