|
|
@ -31,7 +31,11 @@ |
|
|
|
# Loads the local shared library, and runs all of the test cases in tests/ |
|
|
|
# Loads the local shared library, and runs all of the test cases in tests/ |
|
|
|
# against it |
|
|
|
# against it |
|
|
|
set -e |
|
|
|
set -e |
|
|
|
cd $(dirname $0) |
|
|
|
cd $(dirname $0)/../../.. |
|
|
|
|
|
|
|
root=$(pwd) |
|
|
|
|
|
|
|
cd src/php/bin |
|
|
|
source ./determine_extension_dir.sh |
|
|
|
source ./determine_extension_dir.sh |
|
|
|
|
|
|
|
# in some jenkins macos machine, somehow the PHP build script can't find libgrpc.dylib |
|
|
|
|
|
|
|
export DYLD_LIBRARY_PATH=$root/libs/$config |
|
|
|
php $extension_dir $(which phpunit) -v --debug --strict \ |
|
|
|
php $extension_dir $(which phpunit) -v --debug --strict \ |
|
|
|
../tests/unit_tests |
|
|
|
../tests/unit_tests |
|
|
|