From b99dde53b185eec524730a75efa6e8bada8e64ea Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 22 Jul 2013 00:16:51 +0000 Subject: [PATCH] polish parse test output script --- tools/parse_test_results.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/parse_test_results.py b/tools/parse_test_results.py index 0c73b4acf..bceaaed0d 100755 --- a/tools/parse_test_results.py +++ b/tools/parse_test_results.py @@ -46,7 +46,7 @@ def style_output(o): l = l.replace('<', '<') l = l.replace('>', '>') if 'TEST_CHECK' in l or 'TEST_EQUAL_ERROR' in l or l.startswith('EXIT STATUS: ') or \ - l.endswith(' second time limit exceeded'): + l.endswith(' second time limit exceeded') or l.startswith('signal: SIG'): ret += '%s\n' % l elif '**passed**' in l: ret += '%s\n' % l @@ -89,7 +89,7 @@ def save_log_file(log_name, project_name, branch_name, test_name, timestamp, dat .compile-warning { font-weight: bold; color: black; } .test-error { color: #f13; font-weight: bold; } .test-pass { color: #1c2; font-weight: bold; } - .subtle { color: #ccc; } + .subtle { color: #ddd; } pre { color: #999; white-space: pre-wrap; word-wrap: break-word; }

%s - %s

''' % (project_name, branch_name, project_name, branch_name)