Commit aac62f76 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

ignore test wrappers in the HTML report (if successful)

parent 80fc3d09
......@@ -2,6 +2,10 @@ package GaudiPolicy
package manager: Marco Clemencic
Commit Id: $Format:%H$
! 2014-08-29 - Marco Clemencic
- Modified CTestXML2HTML to ignore tests with label 'test-wrapper', if they are
! 2014-08-29 - Marco Clemencic
- Made run_qmtest and CTestXML2HTML more resilient to configuration mistakes.
......@@ -539,7 +539,7 @@ def main():
if not tests:
# no tests in this "site", let's ignore it
#create a directory containing the html file for each site
outputTemp = output #os.path.join(output,os.path.split(fileName)[1][:-8]+str(site.get("BuildStamp")))
if not os.path.isdir(outputTemp) :
......@@ -572,7 +572,8 @@ def main():
shutil.copy(src, dst)
# process each test case
for Test in Testing.findall("Test") :
for Test in tests:
labels = [l.text for l in Test.findall('Labels/Label')]
Results = Test.find("Results")
......@@ -597,6 +598,10 @@ def main():
summary["outcome"] = cleanSpace(cleanWebChar(Test.get("Status")))
## TODO : Complete with all other possible ctest outcomes
if 'test-wrapper' in labels and summary["outcome"] == 'PASS':
# we should not report the results of test wrappers (like
# QMTest) if they are successful
if summary["outcome"] != "PASS":
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment