| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# qmtest_summarize.py File Reference

Go to the source code of this file.

## Namespaces
namespace | fragments::qmtest_summarize
## Functions
def | fragments::qmtest_summarize::parse_summary
## Variables
tuple | fragments::qmtest_summarize::cmt_br_header_re = re.compile(r"^# Now trying.*in (.*) \([0-9]+/[0-9]+\)")
list | fragments::qmtest_summarize::dirs = []
| fragments::qmtest_summarize::old_CMTUSERCONTEXT = None
tuple | fragments::qmtest_summarize::m = cmt_br_header_re.match(l)
tuple | fragments::qmtest_summarize::results = filter(os.path.isfile,[ os.path.realpath(os.path.join(d,'..',os.environ["CMTCONFIG"],"results.qmr")) for d in dirs ])
tuple | fragments::qmtest_summarize::tmpdir = mkdtemp()
tuple | fragments::qmtest_summarize::origdir = os.getcwd()
| fragments::qmtest_summarize::report = None
tuple | fragments::qmtest_summarize::out = os.popen("qmtest summarize -f brief %s"%r,"r")
tuple | fragments::qmtest_summarize::rep = parse_summary(out)
list | fragments::qmtest_summarize::statistics_output = ['--- STATISTICS ---------------------------------------------------------------','']
list | fragments::qmtest_summarize::tot = report["statistics"]
list | fragments::qmtest_summarize::n = report["statistics"]
tuple | fragments::qmtest_summarize::p = round(100. * n / tot)
list | fragments::qmtest_summarize::results_output = ['--- TEST RESULTS -------------------------------------------------------------']
list | fragments::qmtest_summarize::not_passed_output = ['--- TESTS THAT DID NOT PASS --------------------------------------------------']
| fragments::qmtest_summarize::output = statistics_output+not_passed_output+results_output+not_passed_output+statistics_output