com php-src: Don't show TEST line if SHOW_ONLY_GROUPS is used: run-tests.php
| From: | Nikita Popov | Date: | Thu, 11 Sep 2014 14:27:53 +0000 |
| Subject: | com php-src: Don't show TEST line if SHOW_ONLY_GROUPS is used: run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81508@lists.php.net to get a copy of this message | ||
Commit: 7014dec761bc0ba61b9db7b39552fc18ebc9ac69
Author: Nikita Popov <nikic@php.net> Thu, 11 Sep 2014 16:27:53 +0200
Parents: fca85d92cc7671c9b24f596407b7eca6068883f1
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7014dec761bc0ba61b9db7b39552fc18ebc9ac69
Log:
Don't show TEST line if SHOW_ONLY_GROUPS is used
Changed paths:
M run-tests.php
Diff:
diff --git a/run-tests.php b/run-tests.php
index 1b5bcec..e0f401c 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -1189,6 +1189,7 @@ function run_test($php, $file, $env)
global $no_clean;
global $valgrind_version;
global $JUNIT;
+ global $SHOW_ONLY_GROUPS;
$temp_filenames = null;
$org_file = $file;
@@ -1363,7 +1364,9 @@ TEST $file
}
}
- show_test($test_idx, $shortname);
+ if (!$SHOW_ONLY_GROUPS) {
+ show_test($test_idx, $shortname);
+ }
if (is_array($IN_REDIRECT)) {
$temp_dir = $test_dir = $IN_REDIRECT['dir'];