From: Nikita Popov Date: Thu, 11 Sep 2014 21:21:40 +0000 (+0200) Subject: Also skip line-overwriting if SHOW_ONLY_GROUPS is used X-Git-Tag: PRE_NATIVE_TLS_MERGE~150^2~18^2~26 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3defdb18804650ddd82202f5cffbeb779a7a97d7;p=php Also skip line-overwriting if SHOW_ONLY_GROUPS is used --- diff --git a/run-tests.php b/run-tests.php index e0f401c112..d069760122 100755 --- a/run-tests.php +++ b/run-tests.php @@ -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"; }