mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 14:55:47 +00:00
Bug 540369. Fix logic error which prevented hang detection in unit tests from working if autorun was specified. r=ted
This commit is contained in:
parent
c57571f9e6
commit
806e4be87c
@ -461,7 +461,7 @@ class Mochitest(object):
|
||||
# then again to actually run mochitest
|
||||
if options.timeout:
|
||||
timeout = options.timeout + 30
|
||||
elif options.autorun:
|
||||
elif not options.autorun:
|
||||
timeout = None
|
||||
else:
|
||||
timeout = 330.0 # default JS harness timeout is 300 seconds
|
||||
|
Loading…
Reference in New Issue
Block a user