зеркало из https://github.com/mozilla/pjs.git
Bug 629266 - org.mozilla.fennec is left running after dm.updateApp(). r=ctalbert, a=NPOTB
This commit is contained in:
Родитель
86863d208f
Коммит
5bfb9464f9
|
@ -362,6 +362,10 @@ def main():
|
|||
if os.path.exists(args[0]):
|
||||
manifest = "http://" + str(options.remoteWebServer) + ":" + str(options.httpPort) + "/" + args[0]
|
||||
|
||||
procName = options.app.split('/')[-1]
|
||||
if (dm.processExist(procName)):
|
||||
dm.killProcess(procName)
|
||||
|
||||
#an example manifest name to use on the cli
|
||||
# manifest = "http://" + options.remoteWebServer + "/reftests/layout/reftests/reftest-sanity/reftest.list"
|
||||
reftest.runTests(manifest, options)
|
||||
|
|
|
@ -294,6 +294,11 @@ def main():
|
|||
|
||||
auto.setRemoteLog(options.remoteLogFile)
|
||||
auto.setServerInfo(options.webServer, options.httpPort, options.sslPort)
|
||||
|
||||
procName = options.app.split('/')[-1]
|
||||
if (dm.processExist(procName)):
|
||||
dm.killProcess(procName)
|
||||
|
||||
sys.exit(mochitest.runTests(options))
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Загрузка…
Ссылка в новой задаче