Author: gnichols
Date: 2011-04-19 12:44:43 +0000 (Tue, 19 Apr 2011)
New Revision: 896
Modified:
trunk/v7/hardwaretest.py
Log:
697846 - info test logs missing when reboot test is run
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-04-19 03:03:19 UTC (rev 895)
+++ trunk/v7/hardwaretest.py 2011-04-19 12:44:43 UTC (rev 896)
@@ -717,9 +717,8 @@
run.setSummary(summary)
run.getResultsAttachments(self.environment, outputFilePath)
- self.certification.save(self.environment.getResultsPath())
- print "saved to " + self.environment.getResultsPath()
+
if self.options.rhts:
self.reportToRHTS(test, run.getSummary(), outputFilePath)
@@ -743,7 +742,9 @@
# print result
print ("Return value was %u") % returnValue
# TODO: clean up tmpdir here?
-
+ self.certification.save(self.environment.getResultsPath())
+ print "saved to " + self.environment.getResultsPath()
+
syslog.syslog("Testing complete.")
syslog.closelog()
self.certification.save(self.environment.getResultsPath())
Show replies by date