Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Commit

Permalink
bug 589881 - n810s are broken on mozilla-1.9.2 r=aki p=jhford
Browse files Browse the repository at this point in the history
  • Loading branch information
John Ford committed Aug 24, 2010
1 parent 59f7741 commit b6ba87d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion process/mobiletestfactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(self, test, timeout, branch=None, talos_config_file='sample.config'
hg_host='http://hg.mozilla.org', tools_repo_path='build/tools',
talos_tarball=None, pageloader_tarball=None,
cleanup_glob='tools talos fennec* *.tar.bz2 *.zip',
tp4_source='/tools/tp4', browser_wait=7, **kwargs):
tp4_source='/tools/tp4', browser_wait=7, env={}, **kwargs):
BuildFactory.__init__(self, **kwargs)
self.test = test
self.timeout = timeout
Expand All @@ -102,6 +102,7 @@ def __init__(self, test, timeout, branch=None, talos_config_file='sample.config'
self.cleanup_glob = cleanup_glob
self.tp4_source = tp4_source
self.browser_wait = browser_wait
self.env = env.copy()

self.addStartupSteps()
self.addCleanupSteps()
Expand Down Expand Up @@ -276,6 +277,7 @@ def addRunSteps(self):
description=['perfconfig', self.test],
haltOnFailure=True,
name='perfconfig_%s' % self.test,
env=self.env,
))
self.addStep(ShellCommand(
command=["cat", "local.config"],
Expand All @@ -293,6 +295,7 @@ def addRunSteps(self):
warnOnWarnings=True,
haltOnFailure=False,
name='run_test_%s' % self.test,
env=self.env,
))

def addFinalSteps(self):
Expand Down Expand Up @@ -424,6 +427,7 @@ def addRunSteps(self):
name="run_%s" % self.test,
haltOnFailure=True,
timeout=self.timeout,
env=self.env,
))
self.addStep(MobileParseTestLog,
name=self.test_type,
Expand All @@ -434,4 +438,5 @@ def addRunSteps(self):
timeout=120,
flunkOnFailure=False,
haltOnFailure=False,
env=self.env,
)

0 comments on commit b6ba87d

Please sign in to comment.