Author: gnichols
Date: 2011-07-21 13:31:15 +0000 (Thu, 21 Jul 2011)
New Revision: 1022
Modified:
trunk/v7/report.py
Log:
702140 - Unable to determine pass/fail state of logs after packaging with v7 submit
Modified: trunk/v7/report.py
===================================================================
--- trunk/v7/report.py 2011-07-21 13:27:36 UTC (rev 1021)
+++ trunk/v7/report.py 2011-07-21 13:31:15 UTC (rev 1022)
@@ -296,9 +296,6 @@
run = test.getRun(runNumber)
if not run.passed():
combinedTestPass = False
- elif run.getMode() == Constants.auto and test.isInteractive():
- print "Warning: Interactive %s test run in %s mode marked as
FAIL" % (test.getName(), run.getMode())
- combinedTestPass = False
if len(testsByName) > 1:
deviceNumber = deviceNumber + 1
@@ -307,6 +304,10 @@
if outputLog:
log = codecs.open(dir + "/output.log", "a",
"utf-8" )
log.write(outputLog)
+ if run.passed():
+ log.write(Constants.PASS+"\n")
+ else:
+ log.write(Constants.FAIL+"\n")
log.close()
systemLog = run.getSystemLog()
if systemLog:
Show replies by date