Skip to content
Snippets Groups Projects
Commit 7a4e8e44 authored by Stanley Cheung's avatar Stanley Cheung
Browse files

php: fix jenkins flake

parent 89a17fe4
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,11 @@ ...@@ -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
...@@ -46,6 +46,3 @@ cd ext/grpc ...@@ -46,6 +46,3 @@ cd ext/grpc
phpize phpize
./configure --enable-grpc=$root ./configure --enable-grpc=$root
make make
# in some jenkins macos machine, somehow the PHP build script can't find libgrpc.dylib
export DYLD_LIBRARY_PATH=$(pwd)/libs/$config
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment