Browse Source

Fix make test and remove a warning

experimental/new_ui_api
Sander Roobol 24 years ago
parent
commit
f3a8a7d6bb
  1. 2
      Makefile.global
  2. 6
      run-tests.php

2
Makefile.global

@ -56,7 +56,7 @@ install-tester:
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:

6
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.

Loading…
Cancel
Save