com php-src: Fix run-tests.php counting an uncountable: run-tests.php

From: Date: Thu, 17 Nov 2016 09:33:04 +0000
Subject: com php-src: Fix run-tests.php counting an uncountable: run-tests.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95822@lists.php.net to get a copy of this message
Commit: b476d2196214e3c9acf22d4ac7b2ef1599f5077b Author: Craig Duncan <git@duncanc.co.uk> Sat, 5 Nov 2016 17:19:16 +0000 Committer: Joe Watkins <krakjoe@php.net> Thu, 17 Nov 2016 09:33:04 +0000 Parents: 78f2bce68a6a3e53cf4abcf6d1266ab57530eb1a Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b476d2196214e3c9acf22d4ac7b2ef1599f5077b Log: Fix run-tests.php counting an uncountable Changed paths: M run-tests.php Diff: diff --git a/run-tests.php b/run-tests.php index 247e7d5..f987b4e 100755 --- a/run-tests.php +++ b/run-tests.php @@ -1637,7 +1637,7 @@ TEST $file $IN_REDIRECT['dir'] = realpath(dirname($file)); $IN_REDIRECT['prefix'] = trim($section_text['TEST']); - if (count($IN_REDIRECT['TESTS']) == 1) { + if (!empty($IN_REDIRECT['TESTS'])) { if (is_array($org_file)) { $test_files[] = $org_file[1];

« previous php.cvs (#95822) next »