summaryrefslogtreecommitdiff
path: root/run-tests.php
diff options
context:
space:
mode:
authorSander Roobol <sander@php.net>2002-05-19 13:24:38 +0000
committerSander Roobol <sander@php.net>2002-05-19 13:24:38 +0000
commitf3a8a7d6bbfb79a25daa82d084b6e2f1d945ebbf (patch)
treec1bd0eebbd022cd9907e7a1d3d5b7493b9710bdf /run-tests.php
parentc9872c9199e69a9f4ff0f49fecd57b22de215f6e (diff)
downloadphp-git-f3a8a7d6bbfb79a25daa82d084b6e2f1d945ebbf.tar.gz
Fix make test and remove a warning
Diffstat (limited to 'run-tests.php')
-rwxr-xr-xrun-tests.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php
index 3b4be11c9d..4241c6764d 100755
--- a/run-tests.php
+++ b/run-tests.php
@@ -73,7 +73,11 @@ if(!@is_executable($php)) {
// 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.