Author: gnichols
Date: 2011-01-31 21:13:38 +0000 (Mon, 31 Jan 2011)
New Revision: 759
Modified:
trunk/v7/fvtest.py
Log:
589739 - CPUSCALING test includes unprocessed tags around displayed text
Modified: trunk/v7/fvtest.py
===================================================================
--- trunk/v7/fvtest.py 2011-01-31 21:12:37 UTC (rev 758)
+++ trunk/v7/fvtest.py 2011-01-31 21:13:38 UTC (rev 759)
@@ -475,7 +475,7 @@
result = True
try:
self.mountDataImage()
- Command("cp /mnt/" + self.environment.getResultsFileName() + "
.").echo()
+ Command("cp /mnt/%s %s" % (self.environment.getResultsFileName(),
self.getOutputDirectory())).echo()
# merge the results
result = self.getGuestTestRunResult()
except V7CommandException, e:
@@ -494,7 +494,7 @@
def getGuestTestRunResult(self):
# open the test results, and look for the run
results = CertificationDocument()
- results.load(self.environment.getResultsFileName())
+ results.load(os.path.join(self.getOutputDirectory(),
self.environment.getResultsFileName()))
test = results.getTest(self.testToRun)
if not test:
print "Error: no test " + self.testToRun + " in guest
results"
Show replies by date