From 7014dec761bc0ba61b9db7b39552fc18ebc9ac69 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 11 Sep 2014 16:27:53 +0200 Subject: [PATCH] Don't show TEST line if SHOW_ONLY_GROUPS is used --- run-tests.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index 1b5bcec253..e0f401c112 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']; -- 2.40.0