Bug 850903 - runtests.py --debugger should suppress the timeout. r=ted

--HG--
extra : rebase_source : dc1ecc3deacbc1a0aa3e6b1f2ea87a66c54a82a2
This commit is contained in:
Steve Fink 2013-03-13 13:12:07 -07:00
parent d78dffc4dd
commit 0a5bc1249b

View File

@ -745,7 +745,7 @@ class Mochitest(object):
# then again to actually run mochitest
if options.timeout:
timeout = options.timeout + 30
elif not options.autorun:
elif options.debugger or not options.autorun:
timeout = None
else:
timeout = 330.0 # default JS harness timeout is 300 seconds