r707 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-14 19:42:13 +0000 (Fri, 14 Jan 2011)
New Revision: 707
Modified:
trunk/Makefile
Log:
R4
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-01-05 15:10:10 UTC (rev 706)
+++ trunk/Makefile 2011-01-14 19:42:13 UTC (rev 707)
@@ -14,7 +14,7 @@
# Author: Greg Nichols
V7_VERSION := 1.3
-V7_RELEASE := 3
+V7_RELEASE := 4
V7_VERSION_RELEASE := $(V7_VERSION)-$(V7_RELEASE)
V7_VERSION_PY := v7/version.py
V7_SVN_MODULE := svn+ssh://svn.fedorahosted.org/svn/v7
13 years, 3 months
r706 - in tags: . v7-V1-3R3/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-05 15:10:10 +0000 (Wed, 05 Jan 2011)
New Revision: 706
Added:
tags/v7-V1-3R3/
tags/v7-V1-3R3/v7/version.py
Log:
tag version
Copied: tags/v7-V1-3R3 (from rev 705, trunk)
Copied: tags/v7-V1-3R3/v7/version.py (from rev 335, trunk/v7/version.py)
===================================================================
--- tags/v7-V1-3R3/v7/version.py (rev 0)
+++ tags/v7-V1-3R3/v7/version.py 2011-01-05 15:10:10 UTC (rev 706)
@@ -0,0 +1,5 @@
+
+# v7/version.py is automatically-generated - DO NOT EDIT
+version = '1.3'
+release = '3'
+rhel_version = '5'
13 years, 4 months
r705 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-05 15:09:03 +0000 (Wed, 05 Jan 2011)
New Revision: 705
Modified:
trunk/v7.spec.in
Log:
changelog
Modified: trunk/v7.spec.in
===================================================================
--- trunk/v7.spec.in 2011-01-04 19:21:07 UTC (rev 704)
+++ trunk/v7.spec.in 2011-01-05 15:09:03 UTC (rev 705)
@@ -69,9 +69,9 @@
/etc/init.d/v7
%changelog
-* Tue Jan 04 2011 Greg Nichols <gnichols(a)redhat.com>
+* Wed Jan 05 2011 Greg Nichols <gnichols(a)redhat.com>
-V7 1.3 R2
+V7 1.2 R3
659789 - Enhance command set for better usability and control of testing
13 years, 4 months
r704 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 19:21:07 +0000 (Tue, 04 Jan 2011)
New Revision: 704
Modified:
trunk/v7/test.py
Log:
659789 - Enhance command set for better usability and control of testing
Modified: trunk/v7/test.py
===================================================================
--- trunk/v7/test.py 2011-01-04 19:20:09 UTC (rev 703)
+++ trunk/v7/test.py 2011-01-04 19:21:07 UTC (rev 704)
@@ -88,7 +88,7 @@
try:
self.debug = self.parameters.get(Constants.DEBUG)
except KeyError:
- self.incomplete = Constants.off
+ self.debug = Constants.off
def __cmp__(self, other):
if TestTag.interactive in self.tags() and not TestTag.interactive in other.tags():
13 years, 4 months
r703 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 19:20:09 +0000 (Tue, 04 Jan 2011)
New Revision: 703
Modified:
trunk/Makefile
Log:
r3
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-01-04 15:42:17 UTC (rev 702)
+++ trunk/Makefile 2011-01-04 19:20:09 UTC (rev 703)
@@ -14,7 +14,7 @@
# Author: Greg Nichols
V7_VERSION := 1.3
-V7_RELEASE := 2
+V7_RELEASE := 3
V7_VERSION_RELEASE := $(V7_VERSION)-$(V7_RELEASE)
V7_VERSION_PY := v7/version.py
V7_SVN_MODULE := svn+ssh://svn.fedorahosted.org/svn/v7
13 years, 4 months
r702 - in tags: . v7-V1-3R2/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 15:42:17 +0000 (Tue, 04 Jan 2011)
New Revision: 702
Added:
tags/v7-V1-3R2/
tags/v7-V1-3R2/v7/version.py
Log:
tag version
Copied: tags/v7-V1-3R2 (from rev 701, trunk)
Copied: tags/v7-V1-3R2/v7/version.py (from rev 335, trunk/v7/version.py)
===================================================================
--- tags/v7-V1-3R2/v7/version.py (rev 0)
+++ tags/v7-V1-3R2/v7/version.py 2011-01-04 15:42:17 UTC (rev 702)
@@ -0,0 +1,5 @@
+
+# v7/version.py is automatically-generated - DO NOT EDIT
+version = '1.3'
+release = '2'
+rhel_version = '5'
13 years, 4 months
r701 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 15:41:56 +0000 (Tue, 04 Jan 2011)
New Revision: 701
Modified:
trunk/v7.spec.in
Log:
changelog
Modified: trunk/v7.spec.in
===================================================================
--- trunk/v7.spec.in 2011-01-04 15:40:15 UTC (rev 700)
+++ trunk/v7.spec.in 2011-01-04 15:41:56 UTC (rev 701)
@@ -69,13 +69,18 @@
/etc/init.d/v7
%changelog
-* Tue Dec 14 2010 Greg Nichols <gnichols(a)redhat.com>
+* Tue Jan 04 2011 Greg Nichols <gnichols(a)redhat.com>
+V7 1.3 R2
+
+ 659789 - Enhance command set for better usability and control of testing
+
+* Tue Dec 17 2010 Greg Nichols <gnichols(a)redhat.com>
+
V7 1.3 R1
649314 - v7 returns 1 on successful run
649729 - RHEL5 fv_tests may fail on initial run due to kvm modules not installed
- 659789 - Enhance command set for better usability and control of testing
642029 - USB SCSI tape drives cause: UnicodeEncodeError
* Mon Sep 13 2010 Greg Nichols <gnichols(a)redhat.com>
13 years, 4 months
r700 - trunk
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 15:40:15 +0000 (Tue, 04 Jan 2011)
New Revision: 700
Modified:
trunk/Makefile
Log:
r2
Modified: trunk/Makefile
===================================================================
--- trunk/Makefile 2011-01-04 15:29:14 UTC (rev 699)
+++ trunk/Makefile 2011-01-04 15:40:15 UTC (rev 700)
@@ -14,7 +14,7 @@
# Author: Greg Nichols
V7_VERSION := 1.3
-V7_RELEASE := 1
+V7_RELEASE := 2
V7_VERSION_RELEASE := $(V7_VERSION)-$(V7_RELEASE)
V7_VERSION_PY := v7/version.py
V7_SVN_MODULE := svn+ssh://svn.fedorahosted.org/svn/v7
13 years, 4 months
r699 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 15:29:14 +0000 (Tue, 04 Jan 2011)
New Revision: 699
Modified:
trunk/v7/rundocument.py
Log:
659789 - Enhance command set for better usability and control of testing
Modified: trunk/v7/rundocument.py
===================================================================
--- trunk/v7/rundocument.py 2011-01-04 15:27:33 UTC (rev 698)
+++ trunk/v7/rundocument.py 2011-01-04 15:29:14 UTC (rev 699)
@@ -19,7 +19,8 @@
from xml.dom.minidom import getDOMImplementation, parse
import xml.dom.ext
from tags import Tags, Attributes, Constants
-from documentbase import DocumentWrapper, DocumentBase
+from documentbase import DocumentWrapper, DocumentBase
+import certificationtest
import version
@@ -240,7 +241,7 @@
attachmentElement = self.document.createElement(Tags.attachment)
self.element.appendChild(attachmentElement)
attachmentElement.setAttribute(Attributes.name, os.path.basename(attachment))
- self.setTextNode(attachmentElement, open(attachment).read().encode("base64"))
+ self.setTextNode(attachmentElement, open(attachment).read().encode("base64"), filter=False)
def getAttachments(self):
attachments = list()
@@ -264,6 +265,15 @@
def deleteAttachments(self):
for attachment in self.getAttachments():
self.runElement.removeChild(attachment)
+
+ def getSubCertification(self):
+ subCertificationElement = self.getChildElement(Tags.certification_test)
+ if subCertificationElement:
+ subCertification = certificationtest.CertificationDocument()
+ subCertification.importElement(subCertificationElement)
+ return subCertification
+ # otherwise
+ return None
13 years, 4 months
r698 - trunk/v7
by gnichols@fedoraproject.org
Author: gnichols
Date: 2011-01-04 15:27:33 +0000 (Tue, 04 Jan 2011)
New Revision: 698
Modified:
trunk/v7/hardwaretest.py
Log:
659789 - Enhance command set for better usability and control of testing
Modified: trunk/v7/hardwaretest.py
===================================================================
--- trunk/v7/hardwaretest.py 2011-01-04 15:26:27 UTC (rev 697)
+++ trunk/v7/hardwaretest.py 2011-01-04 15:27:33 UTC (rev 698)
@@ -132,14 +132,19 @@
parser.add_option("-v", "--device",
action="store", type="string", dest="device",
help="The logical device to be tested.")
+ # default is TestTag.certification, set explicitly below because optparse doesn't do the right thing
parser.add_option("-g", "--tag",
- action="append", type="choice", choices=TestTag.getAll(), default=[TestTag.certification])
+ action="append", type="choice", choices=TestTag.getAll())
parser.set_defaults(data="/var/v7", cfg="config.xml", plan="plan.xml", results="results.xml", mode="normal", source="/usr/share/v7/tests", virtResults="virt-results.xml")
(self.options,self.args) = parser.parse_args()
+ # set default tag
+ if not self.options.tag:
+ self.options.tag = [TestTag.certification]
+
if len(self.args) > 2 or (len(self.args) == 2
and not (self.args[0] == "server" and self.args[1] in ["start", "stop", "status", "daemon"])):
parser.error("Invalid command")
@@ -767,10 +772,17 @@
engine = ResultsEngine(self.certification)
tests = engine.getRemainingTests()
+
+ # filter remaining tests via tags
+ if self.options.tag:
+ tests = self.certification.getTaggedTests(tests, self.options.tag)
if len(tests) > 0:
tests = self.addMandatoryTests(tests)
- print "\nThe following tests are recommended to complete the certification:"
+ if not self.options.tag:
+ print "\nThe following tests are recommended to complete the certification:"
+ else:
+ print "\nThe following tests with tag(s) [%s] are recommended to continue the certification" % (", ".join(self.options.tag))
for test in tests:
print "%-10s %-10s %-36s" % (test.getName(), test.getLogicalDeviceName(), test.getShortUDI())
13 years, 4 months