Bug 1391237 - backslashes in test.relpath_tests should be replaced with slash before checking against options.ignore_timeouts, in jittests.py. r=arai

MozReview-Commit-ID: ByE4NM8tFA0

--HG--
extra : rebase_source : 33ef511586c503eb8babbd27d31ce02faf1bb39c
This commit is contained in:
Justin Wood 2017-08-17 13:44:29 -04:00
parent de7fb37c6f
commit ed090fa0da

View File

@ -382,7 +382,8 @@ def run_test_remote(test, device, prefix, options):
def check_output(out, err, rc, timed_out, test, options):
if timed_out:
if test.relpath_tests in options.ignore_timeouts:
if os.path.normpath(test.relpath_tests).replace(os.sep, '/') \
in options.ignore_timeouts:
return True
# The shell sometimes hangs on shutdown on Windows 7 and Windows