com php-src: Also skip line-overwriting if SHOW_ONLY_GROUPS is used: run-tests.php
| From: | Nikita Popov | Date: | Sat, 13 Sep 2014 19:02:04 +0000 |
| Subject: | com php-src: Also skip line-overwriting if SHOW_ONLY_GROUPS is used: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81547@lists.php.net to get a copy of this message | ||
Commit: 3defdb18804650ddd82202f5cffbeb779a7a97d7
Author: Nikita Popov <nikic@php.net> Thu, 11 Sep 2014 23:21:40 +0200
Parents: c030ff3e71c2a8d5633dd1abc424c0c97b64dffd
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3defdb18804650ddd82202f5cffbeb779a7a97d7
Log:
Also skip line-overwriting if SHOW_ONLY_GROUPS is used
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index e0f401c..d069760 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";
}