mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 759020 - Prevent jsreftest suite from swallowing crashes; r=dmandelin
--HG-- extra : rebase_source : fbbaec5c83e9ea5cbfba6833b96c73e7cfd8adf6
This commit is contained in:
parent
ca212316e1
commit
7130c13c89
@ -154,12 +154,16 @@ def reap_zombies(tasks, results, timeout):
|
||||
os.close(ended.stdout)
|
||||
os.close(ended.stderr)
|
||||
|
||||
returncode = os.WEXITSTATUS(status)
|
||||
if os.WIFSIGNALED(status):
|
||||
returncode = -os.WTERMSIG(status)
|
||||
|
||||
out = TestOutput(
|
||||
ended.test,
|
||||
ended.cmd,
|
||||
''.join(ended.out),
|
||||
''.join(ended.err),
|
||||
os.WEXITSTATUS(status),
|
||||
returncode,
|
||||
(datetime.now() - ended.start).total_seconds(),
|
||||
timed_out(ended, timeout))
|
||||
results.push(out)
|
||||
|
Loading…
Reference in New Issue
Block a user