Bug 1511618 - js/src/tests/lib/jittests.py check_output should detect rc 139 as a crash, r=jmaher.

This commit is contained in:
Bob Clary 2018-12-31 10:14:25 -08:00
Родитель eddb0836f7
Коммит 8d9db10b16
1 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -512,6 +512,11 @@ def check_output(out, err, rc, timed_out, test, options):
if rc == 1 and ("Hit MOZ_CRASH" in err or "Assertion failure:" in err):
return True
# When running jittests on Android, SEGV results in a return code
# of 128+11=139.
if rc == 139:
return True
if rc != test.expect_status:
# Tests which expect a timeout check for exit code 6.
# Sometimes 0 is returned on Windows for unknown reasons.