Signed-off-by: Jason Etheridge <jason@esilibrary.com>
.comment { color: black; }
.ok { color: green; font-weight: bold; }
.error { color: red; font-weight: bold; }
+.todo { color: brown; font-weight: bold; }
.notok { color: red; font-weight: bold; }
.pass { color: green; font-weight: bold; }
.fail { color: red; font-weight: bold; }
$class .= 'ok ';
}
$class .= 'error ' if ($line =~ /^err/i);
- if ($line =~ /^not ok/
+ if (($line =~ /^not ok/ && !($line =~ /TODO/))
|| $line =~ /\. not ok/
|| $line =~ /\* ERROR/
|| $line =~ /\* WARNING/
$class .= 'notok ';
$error_count++;
}
+ if ($line =~ /^not ok/ && $line =~ /TODO/) {
+ $class .= 'todo ';
+ }
$class .= 'result ' if ($line =~ /^Result:/);
$class .= 'pass ' if ($line =~ /^Result: PASS/);
if ($line =~ /^Result: FAIL/) {