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

Unified Diff: tools/test.py

Issue 6580038: [Isolates] Merge from bleeding_edge, revisions 5934-6100. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' Created 9 years, 10 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 | « tools/gyp/v8.gyp ('k') | tools/v8.xcodeproj/project.pbxproj » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/test.py
===================================================================
--- tools/test.py (revision 6904)
+++ tools/test.py (working copy)
@@ -732,7 +732,10 @@
if self.name in env: return ListSet([env[self.name]])
else: return Nothing()
+ def Evaluate(self, env, defs):
+ return env[self.name]
+
class Outcome(Expression):
def __init__(self, name):
@@ -1182,6 +1185,11 @@
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("--noprof", help="Disable profiling support",
+ default=False)
return result
@@ -1216,6 +1224,14 @@
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")
return True
@@ -1366,7 +1382,8 @@
'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 | « tools/gyp/v8.gyp ('k') | tools/v8.xcodeproj/project.pbxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698