|
|
|
@ -102,7 +102,9 @@ test: all |
|
|
|
TEST_PHP_SRCDIR=$(top_srcdir) \
|
|
|
|
CC="$(CC)" \
|
|
|
|
$(PHP_EXECUTABLE) -n -c $(top_builddir)/tmp-php.ini $(PHP_TEST_SETTINGS) $(top_srcdir)/run-tests.php -n -c $(top_builddir)/tmp-php.ini -d extension_dir=$(top_builddir)/modules/ $(PHP_TEST_SHARED_EXTENSIONS) $(TESTS); \
|
|
|
|
TEST_RESULT_EXIT_CODE=$$?; \
|
|
|
|
rm $(top_builddir)/tmp-php.ini; \
|
|
|
|
exit $$TEST_RESULT_EXIT_CODE; \
|
|
|
|
else \
|
|
|
|
echo "ERROR: Cannot run tests without CLI sapi."; \
|
|
|
|
fi |
|
|
|
|