cvs: php4 / Makefile.global run-tests.php
| From: | Sander Roobol | Date: | Sun, 19 May 2002 13:24:38 +0000 |
| Subject: | cvs: php4 / Makefile.global run-tests.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11997@lists.php.net to get a copy of this message | ||
sander Sun May 19 09:24:38 2002 EDT
Modified files:
/php4 Makefile.global run-tests.php
Log:
Fix make test and remove a warning
Index: php4/Makefile.global
diff -u php4/Makefile.global:1.12 php4/Makefile.global:1.13
--- php4/Makefile.global:1.12 Sun May 19 09:16:03 2002
+++ php4/Makefile.global Sun May 19 09:24:38 2002
@@ -56,7 +56,7 @@
install-su: install-pear install-tester
test: sapi/cli/php
- TOP_BUILDDIR=$(top_builddir) TOP_SRCDIR=$(top_srcdir) \
+ @TEST_PHP_EXECUTABLE=$(top_builddir)/sapi/cli/php \
$(top_builddir)/sapi/cli/php -c php.ini-dist $(top_srcdir)/run-tests.php
clean:
Index: php4/run-tests.php
diff -u php4/run-tests.php:1.44 php4/run-tests.php:1.45
--- php4/run-tests.php:1.44 Sun May 19 09:16:03 2002
+++ php4/run-tests.php Sun May 19 09:24:38 2002
@@ -73,7 +73,11 @@
// Check whether a detailed log is wanted.
-define('DETAILED',0 + $_ENV['TEST_PHP_DETAILED']);
+if(isset($_ENV['TEST_PHP_DETAILED'])) {
+ define('DETAILED', $_ENV['TEST_PHP_DETAILED']);
+} else {
+ define('DETAILED', 0);
+}
// Write test context information.