Bug 1032853 - TPS infinitely loops through the same phase of a test. r=ahal a=testonly DONTBUILD

---
 testing/tps/tps/firefoxrunner.py | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

--HG--
extra : rebase_source : 7785bb543c0d44ce6dd3380c8ce1db3bff88cdad
This commit is contained in:
Henrik Skupin 2014-07-02 15:37:30 +02:00
parent fb3b76b37b
commit f51590a445

View File

@ -25,7 +25,6 @@ class TPSFirefoxRunner(object):
self.url = None
self.binary = binary
self.runner = None
self.installdir = None
def __del__(self):
@ -78,8 +77,8 @@ class TPSFirefoxRunner(object):
if self.binary is None and self.url:
self.binary = self.download_build()
if self.runner is None:
self.runner = FirefoxRunner(profile=self.profile, binary=self.binary, env=env, cmdargs=args)
runner = FirefoxRunner(profile=self.profile, binary=self.binary,
env=env, cmdargs=args)
self.runner.start(timeout=timeout)
return self.runner.wait()
runner.start(timeout=timeout)
return runner.wait()