From d0d062b4a05a9eb64b8d2e6d038af96ac532e4b3 Mon Sep 17 00:00:00 2001 From: valmat Date: Thu, 27 Mar 2014 01:19:12 +0600 Subject: Added new tests. Due to support zts broke the ability to run tests without installation - fixed. --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7941dc8..497beb8 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,8 @@ PHP_CONFIG = php-config # # The path to the executable PHP binary file. # Need to run tests. -# You can see the command "whereis php" +# You can see the command "whereis -b php" +# Usually /usr/bin/php # PHP_BIN = $(shell ${PHP_CONFIG} --php-binary) @@ -170,5 +171,7 @@ install: ${CONFIG_UTILITY} > ${INSTALL_HEADERS}/phpcpp/config.h test: - cd tests && ./test.sh -p ${PHP_BIN} + mkdir -p ./tests/cpp/zts/phpcpp + ${CONFIG_UTILITY} > ./tests/cpp/zts/phpcpp/config.h + cd tests && ./test.sh -p "${PHP_BIN}" -- cgit v1.2.3