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

Unified Diff: tools/test.py

Issue 6783011: Reapply changelist r7436. (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 | « test/preparser/testcfg.py ('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 066a55934edc4476c1d9166ba5137f23ed34eb9a..43c11e28c827f063fdbd47011f161fca6eff9588 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -379,6 +379,7 @@ class TestCase(object):
def Run(self):
self.BeforeRun()
+ result = "exception"
try:
result = self.RunCommand(self.GetCommand())
finally:
@@ -1316,7 +1317,7 @@ def GetSpecialCommandProcessor(value):
return ExpandCommand
-BUILT_IN_TESTS = ['mjsunit', 'cctest', 'message']
+BUILT_IN_TESTS = ['mjsunit', 'cctest', 'message', 'preparser']
def GetSuites(test_root):
@@ -1409,9 +1410,6 @@ def Main():
globally_unused_rules = None
for path in paths:
for mode in options.mode:
- if not exists(context.GetVm(mode)):
- print "Can't find shell executable: '%s'" % context.GetVm(mode)
- continue
Lasse Reichstein 2011/03/31 08:10:35 Change from r7436. This fails if only testing the
env = {
'mode': mode,
'system': utils.GuessOS(),
« no previous file with comments | « test/preparser/testcfg.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698