From: maier Date: Sun, 20 Oct 2013 23:25:21 +0000 (+0000) Subject: Bugfix: *blush* X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a96ed962cac3f3fb55e0ba3b826d63639df9889d;p=dealii-svn.git Bugfix: *blush* git-svn-id: https://svn.dealii.org/trunk@31365 0785d39b-7218-0410-832d-ea1e28bc413d --- 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)