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

Unified Diff: tools/test.py

Issue 6760027: Revert "Made test.py not mention the defunct --crankshaft flag." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.py
diff --git a/tools/test.py b/tools/test.py
index 3bc94b66163aae0367f8ba1f8da0808b56f2df14..676bd5753bd07e2a8bb97340035f272d4c2f3f48 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -1202,6 +1202,9 @@ def BuildOptions():
result.add_option("--nostress",
help="Don't run crankshaft --always-opt --stress-op test",
default=False, action="store_true")
+ result.add_option("--crankshaft",
+ help="Run with the --crankshaft flag",
+ default=False, action="store_true")
result.add_option("--shard-count",
help="Split testsuites into this number of shards",
default=1, type="int")
@@ -1242,6 +1245,13 @@ def ProcessOptions(options):
global VARIANT_FLAGS
if options.stress_only:
VARIANT_FLAGS = [['--stress-opt', '--always-opt']]
+ if options.nostress:
+ VARIANT_FLAGS = [[],['--nocrankshaft']]
+ if options.crankshaft:
+ if options.special_command:
+ options.special_command += " --crankshaft"
+ else:
+ options.special_command = "@--crankshaft"
if options.noprof:
options.scons_flags.append("prof=off")
options.scons_flags.append("profilingsupport=off")
@@ -1406,7 +1416,8 @@ def Main():
'mode': mode,
'system': utils.GuessOS(),
'arch': options.arch,
- 'simulator': options.simulator
+ 'simulator': options.simulator,
+ 'crankshaft': options.crankshaft
}
test_list = root.ListTests([], path, context, mode, [])
unclassified_tests += test_list
« no previous file with comments | « src/x64/macro-assembler-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698