com php-src: have parallel test runner respect NO_INTERACTION : run-tests.php

From: Date: Thu, 30 May 2019 05:46:31 +0000
Subject: com php-src: have parallel test runner respect NO_INTERACTION : run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106455@lists.php.net to get a copy of this message
Commit: a3879208c5b3e39593129a2b438ec39d6a0c20da Author: Joe Watkins <krakjoe@php.net> Thu, 30 May 2019 07:46:31 +0200 Parents: 0c8454c02ddf095bdc148980fa64f5762a03bedb Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a3879208c5b3e39593129a2b438ec39d6a0c20da Log: have parallel test runner respect NO_INTERACTION Changed paths: M run-tests.php Diff: diff --git a/run-tests.php b/run-tests.php index f6f1835..e776335 100755 --- a/run-tests.php +++ b/run-tests.php @@ -474,6 +474,7 @@ NO_PROC_OPEN_ERROR; break; case 'q': putenv('NO_INTERACTION=1'); + $environment['NO_INTERACTION'] = 1; break; //case 'r' case 's': @@ -1588,9 +1589,12 @@ escape: $PHP_FAILED_TESTS[$category] = array_merge($PHP_FAILED_TESTS[$category], $tests); } $test_idx++; - clear_show_test(); - echo $resultText; - show_test($test_idx, count($workerProcs) . "/$workers concurrent test workers running"); + + if (!isset($env['NO_INTERACTION']) || !$env['NO_INTERACTION']) { + clear_show_test(); + echo $resultText; + show_test($test_idx, count($workerProcs) . "/$workers concurrent test workers running"); + } if (!is_array($name) && $result != 'REDIR') { $test_results[$index] = $result;

« previous php.cvs (#106455) next »