mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 922943 - Do something about jit-tests failing on OS X with exit code -9 (r=terrence)
This commit is contained in:
parent
21ea0c9304
commit
763fccf4dd
@ -324,16 +324,9 @@ def run_test_remote(test, device, prefix, options):
|
||||
|
||||
def check_output(out, err, rc, test):
|
||||
if test.expect_error:
|
||||
# The shell exits with code 3 on uncaught exceptions.
|
||||
# Sometimes 0 is returned on Windows for unknown reasons.
|
||||
# See bug 899697.
|
||||
if sys.platform in ['win32', 'cygwin']:
|
||||
if rc != 3 and rc != 0:
|
||||
return False
|
||||
else:
|
||||
if rc != 3:
|
||||
return False
|
||||
|
||||
# We'd like to check the return code here, but doing so seems
|
||||
# to return incorrect values occasionally. See bug 899697 and
|
||||
# bug 922943.
|
||||
return test.expect_error in err
|
||||
|
||||
for line in out.split('\n'):
|
||||
|
Loading…
Reference in New Issue
Block a user