tools/runtests.py: Fix cctests on Windows; properly return error code when there were Python exceptions
Review URL: https://codereview.chromium.org/11929020 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13430 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
5d03307500
commit
900720454d
@ -45,9 +45,9 @@ class CcTestSuite(testsuite.TestSuite):
|
||||
os.makedirs(self.serdes_dir)
|
||||
|
||||
def ListTests(self, context):
|
||||
shell = os.path.abspath(os.path.join(context.shell_dir, self.shell()))
|
||||
if utils.IsWindows():
|
||||
shell += '.exe'
|
||||
shell = os.path.abspath(os.path.join(context.shell_dir, self.shell()))
|
||||
output = commands.Execute([context.command_prefix,
|
||||
shell,
|
||||
'--list',
|
||||
|
@ -90,7 +90,7 @@ class Runner(object):
|
||||
self.indicator.Starting()
|
||||
self._RunInternal(jobs)
|
||||
self.indicator.Done()
|
||||
if self.failed:
|
||||
if self.failed or self.remaining:
|
||||
return 1
|
||||
return 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user