Author: gnichols
Date: 2011-07-26 13:58:19 +0000 (Tue, 26 Jul 2011)
New Revision: 1038
Modified:
trunk/v7/hardwaretest.py
Log:
725441 - FEAT: save command should store results on server for review
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-07-25 21:11:19 UTC (rev 1037)
+++ trunk/v7/hardwaretest.py 2011-07-26 13:58:19 UTC (rev 1038)
@@ -972,6 +972,11 @@
print savedFilePath
self.certification.compressToFile(savedFilePath)
+ # if it's supplied as an option, use that one but don't save it,
+ # otherwise, check the certification's test server
+ if not self.testServer:
+ self.testServer = self.certification.getTestServer()
+
if self.testServer and self.ui.promptConfirm("Copy results to test
server %s?" % self.testServer):
request = V7Http(self.testServer, "/v7/cgi/saveFile.py")
request.addField("server-path", serverPath)
Show replies by date