]> granicus.if.org Git - php/commitdiff
Also skip line-overwriting if SHOW_ONLY_GROUPS is used
authorNikita Popov <nikic@php.net>
Thu, 11 Sep 2014 21:21:40 +0000 (23:21 +0200)
committerNikita Popov <nikic@php.net>
Sat, 13 Sep 2014 19:02:04 +0000 (21:02 +0200)
run-tests.php

index e0f401c112345333a1f2718b72796bf743ec6358..d069760122441ecbe167eec19ea9bf67a2dd7ebd 100755 (executable)
@@ -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";
        }