From 572ab5804b62d6995491cd21d6af3ae319abd245 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Sun, 6 Oct 2013 18:00:26 -0700 Subject: Added echo as test type diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py index 15cb236..a31b1a8 100755 --- a/tests/test_pretty_print.py +++ b/tests/test_pretty_print.py @@ -266,7 +266,7 @@ TESTLOG s = s.replace(key,str(dic[key])) for t in tests_to_report: - if t.type in ('txt', 'ast', 'csg', 'term'): + if t.type in ('txt', 'ast', 'csg', 'term', 'echo'): newchunk = re.sub('FTESTNAME',t.fullname,repeat2) newchunk = newchunk.replace('TESTLOG',t.fulltestlog) s = s.replace(repeat2, newchunk+repeat2) @@ -369,7 +369,7 @@ def tohtml(wiki_rootpath, startdate, tests, enddate, sysinfo, sysid, makefiles): s+= '

none

' for t in tests_to_report: - if t.type in ('txt', 'ast', 'csg', 'term'): + if t.type in ('txt', 'ast', 'csg', 'term', 'echo'): s+='\n
'+t.fullname+'
\n' s+='

'+t.fulltestlog+'
\n\n' elif t.type=='png': -- cgit v0.10.1