mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Back out bug 922943 since it was misguided
This commit is contained in:
parent
3b45a58960
commit
783be579d0
@ -324,9 +324,16 @@ def run_test_remote(test, device, prefix, options):
|
||||
|
||||
def check_output(out, err, rc, test):
|
||||
if test.expect_error:
|
||||
# We'd like to check the return code here, but doing so seems
|
||||
# to return incorrect values occasionally. See bug 899697 and
|
||||
# bug 922943.
|
||||
# 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
|
||||
|
||||
return test.expect_error in err
|
||||
|
||||
for line in out.split('\n'):
|
||||
|
Loading…
Reference in New Issue
Block a user