Chromium Code Reviews| 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(), |