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

Merge pull request #3478 from stanley-cheung/php_add_cli_flag_to_scripts

PHP: need additional cli flags in scripts
parents 0972f146 81449fdb
No related branches found
No related tags found
No related merge requests found
...@@ -31,5 +31,5 @@ ...@@ -31,5 +31,5 @@
set -e set -e
cd $(dirname $0) cd $(dirname $0)
source ./determine_extension_dir.sh source ./determine_extension_dir.sh
php $extension_dir \ php $extension_dir -d max_execution_time=300 \
../tests/interop/interop_client.php $@ 1>&2 ../tests/interop/interop_client.php $@ 1>&2
...@@ -32,7 +32,7 @@ set -e ...@@ -32,7 +32,7 @@ set -e
cd $(dirname $0) cd $(dirname $0)
source ./determine_extension_dir.sh source ./determine_extension_dir.sh
export GRPC_TEST_HOST=localhost:50051 export GRPC_TEST_HOST=localhost:50051
php $extension_dir $(which phpunit) -v --debug --strict \ php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug --strict \
../tests/generated_code/GeneratedCodeTest.php ../tests/generated_code/GeneratedCodeTest.php
php $extension_dir $(which phpunit) -v --debug --strict \ php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug --strict \
../tests/generated_code/GeneratedCodeWithCallbackTest.php ../tests/generated_code/GeneratedCodeWithCallbackTest.php
...@@ -37,5 +37,5 @@ cd src/php/bin ...@@ -37,5 +37,5 @@ 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 # in some jenkins macos machine, somehow the PHP build script can't find libgrpc.dylib
export DYLD_LIBRARY_PATH=$root/libs/$config export DYLD_LIBRARY_PATH=$root/libs/$config
php $extension_dir $(which phpunit) -v --debug --strict \ php $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug --strict \
../tests/unit_tests ../tests/unit_tests
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