зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
bad3d6b2e9
Коммит
c784424b92
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче