diff options
-rwxr-xr-x | programs/report.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/report.py b/programs/report.py index d5e4425..7cca268 100755 --- a/programs/report.py +++ b/programs/report.py @@ -76,7 +76,7 @@ def toPassVector(status): 'timeout': PassVector(0,0,0,0,1,0), 'hang': PassVector(0,0,0,0,0,1) } - return vectormap[status] + return vectormap[status if status else 'skip'] ############################################################################# ##### Helper functions @@ -92,7 +92,7 @@ def escape(s): def testResult(run_name, full_name, status): html = '<a class="%(status)s" href="%(link)s">%(status)s</a>' % { - 'status': status, + 'status': status if status else 'skip', 'link': path.join(run_name, escape(full_name) + '.html') } return html |