zoe Fri Mar 20 15:43:40 2009 UTC Modified files: (Branch: PHP_5_3) /php-src README.TESTING Log: clarification of wwwhether 'make test' needs the PHP xecutable to be set http://cvs.php.net/viewvc.cgi/php-src/README.TESTING?r1=1.24&r2=1.24.8.1&diff_format=u Index: php-src/README.TESTING diff -u php-src/README.TESTING:1.24 php-src/README.TESTING:1.24.8.1 --- php-src/README.TESTING:1.24 Thu Apr 15 15:27:08 2004 +++ php-src/README.TESTING Fri Mar 20 15:43:40 2009 @@ -32,11 +32,12 @@ [Which "php" executable "make test" look for] --------------------------------------------- - You must use TEST_PHP_EXECUTABLE environment variable to explicitly -select the php executable to be used to run the tests. That can either -be the CLI or CGI executable. +If you are running the run-tests.php script from the command line (as above) +you must set the TEST_PHP_EXECUTABLE environment variable to explicitly +select the PHP executable that is to be tested, that is, used to run the test scripts. - "make test" executes "run-tests.php" script with "php" binary. Some +If you run the tests using make test, the PHP CLI and CGI executables are +automatically set for you. "make test" executes "run-tests.php" script with the CLI binary. Some test scripts such as session must be executed by CGI SAPI. Therefore, you must build PHP with CGI SAPI to perform all tests.
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php