From: Hartmut Holzgraefe Date: Fri, 15 Dec 2000 23:18:50 +0000 (+0000) Subject: removed a warning when testing against a single .phpt file X-Git-Tag: php-4.0.5RC1~882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0acd8054a52851062bbff715f31cf93db787808;p=php removed a warning when testing against a single .phpt file --- diff --git a/run-tests.php b/run-tests.php index 45809ae450..528141a89c 100755 --- a/run-tests.php +++ b/run-tests.php @@ -165,7 +165,7 @@ function do_testing($argc, &$argv) $dir = "."; } - if ($dir) { + if (isset($dir) && $dir) { find_testdirs($dir); for ($i = 0; $i < sizeof($testdirs); $i++) { run_tests_in_dir($testdirs[$i]);