Skip to content

Commit b75bd31

Browse files
committed
Reviews
1 parent 5f234fd commit b75bd31

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

run-tests.php

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3283,19 +3283,16 @@ function show_result(
32833283
switch ( $result ) {
32843284
case 'PASS': // Light Green
32853285
$color = "\e[1;32m{$result}\e[0m"; break;
3286-
case 'SKIP': // Light Gray
3287-
$color = "\e[0;37m{$result}\e[0m"; break;
3288-
case 'FAIL': // Light Red
3286+
case 'FAIL':
3287+
case 'BORK':
3288+
case 'LEAK':
3289+
// Light Red
32893290
$color = "\e[1;31m{$result}\e[0m"; break;
3290-
case 'BORK': // Purple
3291-
$color = "\e[0;35m{$result}\e[0m"; break;
3292-
case 'LEAK': // Dark Blue
3293-
$color = "\e[2;34m{$result}\e[0m"; break;
32943291
default: // Yellow
32953292
$color = "\e[1;33m{$result}\e[0m"; break;
32963293
}
32973294

3298-
echo "$color $tested [$tested_file] $extra\e[0m\n";
3295+
echo "$color $tested [$tested_file] $extra\n";
32993296
} else {
33003297
echo "$result $tested [$tested_file] $extra\n";
33013298
}

0 commit comments

Comments
 (0)