From 2ee5eb0fda5bd8bd97305857e7bfe923ecc31744 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sun, 20 Oct 2013 23:25:21 +0000 Subject: [PATCH] Bugfix: *blush* git-svn-id: https://svn.dealii.org/trunk@31365 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/scripts/makereport.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/scripts/makereport.py b/tests/scripts/makereport.py index 5295c47f87..d7c62a47d2 100644 --- a/tests/scripts/makereport.py +++ b/tests/scripts/makereport.py @@ -82,15 +82,16 @@ for test in testing.findall("Test"): failstatustxt = failtextlines[0].split(' ')[-1] statuslist=['CONFIGURE','BUILD','RUN','DIFF','PASSED'] + status=-1 if failstatustxt in statuslist: status = statuslist.index(failstatustxt) else: for meas in test.find('Results').findall('NamedMeasurement'): if (meas.attrib["name"]=="Exit Code" and meas.find('Value').text=="Timeout"): status=3 - else: - print >>sys.stderr, "unknown status '%s' in test %s "% (failstatustxt,name) - status=0 + if status == -1: + print >>sys.stderr, "unknown status '%s' in test %s "% (failstatustxt,name) + status=0 stati = [" 0 "," 1 "," 2 "," 3 "," + "] line = "%s %s %s%s"%(date,stati[status],branch,name) -- 2.39.5