Index: tools/run-tests.py |
diff --git a/tools/run-tests.py b/tools/run-tests.py |
index b02fcfa94166fa0d516645a68f46b69de90a384b..8018ba9d3d2145a724121ff0838decea27652d08 100755 |
--- a/tools/run-tests.py |
+++ b/tools/run-tests.py |
@@ -157,6 +157,9 @@ def BuildOptions(): |
result.add_option("--no-snap", "--nosnap", |
help='Test a build compiled without snapshot.', |
default=False, dest="no_snap", action="store_true") |
+ result.add_option("--no-sorting", "--nosorting", |
+ help="Don't sort tests according to duration of last run.", |
+ default=False, dest="no_sorting", action="store_true") |
result.add_option("--no-stress", "--nostress", |
help="Don't run crankshaft --always-opt --stress-op test", |
default=False, dest="no_stress", action="store_true") |
@@ -411,7 +414,8 @@ def Execute(arch, mode, args, options, suites, workspace): |
options.command_prefix, |
options.extra_flags, |
options.no_i18n, |
- options.random_seed) |
+ options.random_seed, |
+ options.no_sorting) |
# TODO(all): Combine "simulator" and "simulator_run". |
simulator_run = not options.dont_skip_simulator_slow_tests and \ |