diff options
author | valmat <ufabiz@gmail.com> | 2014-03-27 01:19:12 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-03-27 01:19:12 +0600 |
commit | d0d062b4a05a9eb64b8d2e6d038af96ac532e4b3 (patch) | |
tree | 4fc4026b988ca6da18a88d2e34dd1d88c28d24ae /Makefile | |
parent | 702c95cf779226550af6b33255a8e1b28ccca428 (diff) |
Added new tests.
Due to support zts broke the ability to run tests without installation - fixed.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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}" |