summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
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}"