Author: gnichols
Date: 2011-01-17 20:48:21 +0000 (Mon, 17 Jan 2011)
New Revision: 711
Modified:
trunk/v7/hardwaretest.py
Log:
646277 - core test reports PASS when clock jitter test fails
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-01-14 19:47:28 UTC (rev 710)
+++ trunk/v7/hardwaretest.py 2011-01-17 20:48:21 UTC (rev 711)
@@ -386,18 +386,17 @@
while True:
missingRPMs = list()
+ print "Checking installed rpms:"
for rpm in requiredRPMs.keys():
try:
rpmQ = Command("rpm -q " + rpm)
- rpmQ.getString("not installed") # this should throw and
exception if rpm is there
- missingRPMs.append(rpm)
+ rpmQ.echo()
except V7CommandException, e:
- # "not installed" not there, so we're ok
- pass
+ missingRPMs.append(rpm)
if len(missingRPMs) > 0:
print "The following rpms are required for testing:"
missingRPMList = ""
- for rpm in missingRPMs:
+ for rpm in missingRPMs:
missingRPMList = "%s %s" % (missingRPMList, rpm)
print missingRPMList
if self.options.mode == Constants.auto or
self.ui.promptConfirm("Would you like to install them now?"):
Show replies by date