mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Bug 777500 - Log information about device before and after test for remote mochitest and reftests;r=jmaher
This commit is contained in:
parent
67212c8333
commit
2795774129
@ -424,6 +424,8 @@ def main(args):
|
||||
if (dm.processExist(procName)):
|
||||
dm.killProcess(procName)
|
||||
|
||||
print dm.getInfo()
|
||||
|
||||
#an example manifest name to use on the cli
|
||||
# manifest = "http://" + options.remoteWebServer + "/reftests/layout/reftests/reftest-sanity/reftest.list"
|
||||
logcat = []
|
||||
@ -441,6 +443,7 @@ def main(args):
|
||||
|
||||
reftest.stopWebServer(options)
|
||||
print ''.join(logcat[-500:-1])
|
||||
print dm.getInfo()
|
||||
return 0
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
@ -407,6 +407,8 @@ def main():
|
||||
auto.setRemoteLog(options.remoteLogFile)
|
||||
auto.setServerInfo(options.webServer, options.httpPort, options.sslPort)
|
||||
|
||||
print dm.getInfo()
|
||||
|
||||
procName = options.app.split('/')[-1]
|
||||
if (dm.processExist(procName)):
|
||||
dm.killProcess(procName)
|
||||
@ -485,6 +487,7 @@ def main():
|
||||
sys.exit(1)
|
||||
|
||||
print ''.join(logcat[-500:-1])
|
||||
print dm.getInfo()
|
||||
sys.exit(retVal)
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
Reference in New Issue
Block a user