mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Also skip line-overwriting if SHOW_ONLY_GROUPS is used
This commit is contained in:
parent
c030ff3e71
commit
3defdb1880
@ -2572,7 +2572,7 @@ function show_result($result, $tested, $tested_file, $extra = '', $temp_filename
|
||||
|
||||
if (!$SHOW_ONLY_GROUPS || in_array($result, $SHOW_ONLY_GROUPS)) {
|
||||
echo "$result $tested [$tested_file] $extra\n";
|
||||
} else {
|
||||
} else if (!$SHOW_ONLY_GROUPS) {
|
||||
// Write over the last line to avoid random trailing chars on next echo
|
||||
echo str_repeat(" ", $line_length), "\r";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user