mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
fb3b76b37b
commit
f51590a445
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user