зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher
MozReview-Commit-ID: EqTOdEwfTWi --HG-- extra : rebase_source : 36837b43159f484f911cf5183d81c3440d59736a
This commit is contained in:
Родитель
0c3fc26fc7
Коммит
65cb773340
|
@ -585,7 +585,7 @@ class Automation(object):
|
|||
if os.path.exists(processLog):
|
||||
os.unlink(processLog)
|
||||
|
||||
return status
|
||||
return status, self.lastTestSeen
|
||||
|
||||
def elf_arm(self, filename):
|
||||
data = open(filename, 'rb').read(20)
|
||||
|
|
|
@ -312,16 +312,16 @@ class RemoteReftest(RefTest):
|
|||
timeout=None, debuggerInfo=None,
|
||||
symbolsPath=None, options=None,
|
||||
valgrindPath=None, valgrindArgs=None, valgrindSuppFiles=None):
|
||||
status = self.automation.runApp(None, env,
|
||||
binary,
|
||||
profile.profile,
|
||||
cmdargs,
|
||||
utilityPath=options.utilityPath,
|
||||
xrePath=options.xrePath,
|
||||
debuggerInfo=debuggerInfo,
|
||||
symbolsPath=symbolsPath,
|
||||
timeout=timeout)
|
||||
return status, None
|
||||
status, lastTestSeen = self.automation.runApp(None, env,
|
||||
binary,
|
||||
profile.profile,
|
||||
cmdargs,
|
||||
utilityPath=options.utilityPath,
|
||||
xrePath=options.xrePath,
|
||||
debuggerInfo=debuggerInfo,
|
||||
symbolsPath=symbolsPath,
|
||||
timeout=timeout)
|
||||
return status, lastTestSeen
|
||||
|
||||
def cleanup(self, profileDir):
|
||||
# Pull results back from device
|
||||
|
|
|
@ -459,7 +459,7 @@ class RobocopTestRunner(MochitestDesktop):
|
|||
timeout = self.options.timeout
|
||||
if not timeout:
|
||||
timeout = self.NO_OUTPUT_TIMEOUT
|
||||
result = self.auto.runApp(
|
||||
result, _ = self.auto.runApp(
|
||||
None, browserEnv, "am", self.localProfile, browserArgs,
|
||||
timeout=timeout, symbolsPath=self.options.symbolsPath)
|
||||
self.log.debug("runApp completes with status %d" % result)
|
||||
|
|
|
@ -2168,7 +2168,7 @@ toolbar#nav-bar {
|
|||
os.remove(processLog)
|
||||
self.urlOpts = []
|
||||
|
||||
return status
|
||||
return status, self.lastTestSeen
|
||||
|
||||
def initializeLooping(self, options):
|
||||
"""
|
||||
|
@ -2489,7 +2489,7 @@ toolbar#nav-bar {
|
|||
|
||||
self.log.info("runtests.py | Running with e10s: {}".format(options.e10s))
|
||||
self.log.info("runtests.py | Running tests: start.\n")
|
||||
ret = self.runApp(
|
||||
ret, _ = self.runApp(
|
||||
testURL,
|
||||
self.browserEnv,
|
||||
options.app,
|
||||
|
|
|
@ -286,7 +286,8 @@ class MochiRemote(MochitestDesktop):
|
|||
# remove args not supported by automation.py
|
||||
kwargs.pop('marionette_args', None)
|
||||
|
||||
return self._automation.runApp(*args, **kwargs)
|
||||
ret, _ = self._automation.runApp(*args, **kwargs)
|
||||
return ret, None
|
||||
|
||||
|
||||
def run_test_harness(parser, options):
|
||||
|
|
Загрузка…
Ссылка в новой задаче