Bug 797112 - we have a call to dm.checkCmd and that api doesn't exist anymore. r=wlach

This commit is contained in:
Joel Maher 2012-10-03 11:07:31 -04:00
Родитель 750949ef14
Коммит 23f83e405b
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -199,6 +199,7 @@ class MochiRemote(Mochitest):
self.remoteProfile = options.remoteTestRoot + "/profile"
self._automation.setRemoteProfile(self.remoteProfile)
self.remoteLog = options.remoteLogFile
self.localLog = options.logFile
def cleanup(self, manifest, options):
self._dm.getFile(self.remoteLog, self.localLog)
@ -441,7 +442,7 @@ def main():
options.extraPrefs.append('robocop.logfile="%s/robocop.log"' % deviceRoot)
if (options.dm_trans == 'adb' and options.robocopPath):
dm.checkCmd(["install", "-r", os.path.join(options.robocopPath, "robocop.apk")])
dm._checkCmd(["install", "-r", os.path.join(options.robocopPath, "robocop.apk")])
appname = options.app
retVal = None