aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/bin
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-09-24 16:41:57 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-09-24 16:41:57 -0700
commit81449fdb7f6a04bfcb50ba5595191f0d84b6541d (patch)
tree22fb38cdaa0acdccad18a1bd8db5e4f9520984f6 /src/php/bin
parent0972f146f8bc2f38c8c163cd3ddf394e8bf7c042 (diff)
php: need additional cli flags in scripts
Diffstat (limited to 'src/php/bin')
-rwxr-xr-xsrc/php/bin/interop_client.sh2
-rwxr-xr-xsrc/php/bin/run_gen_code_test.sh4
-rwxr-xr-xsrc/php/bin/run_tests.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/php/bin/interop_client.sh b/src/php/bin/interop_client.sh
index 17b888dd4e..2af49cd892 100755
--- a/src/php/bin/interop_client.sh
+++ b/src/php/bin/interop_client.sh
@@ -31,5 +31,5 @@
set -e
cd $(dirname $0)
source ./determine_extension_dir.sh
-php $extension_dir \
+php $extension_dir -d max_execution_time=300 \
../tests/interop/interop_client.php $@ 1>&2
diff --git a/src/php/bin/run_gen_code_test.sh b/src/php/bin/run_gen_code_test.sh
index 6e56c7207c..5dfebb42b6 100755
--- a/src/php/bin/run_gen_code_test.sh
+++ b/src/php/bin/run_gen_code_test.sh
@@ -32,7 +32,7 @@ set -e
cd $(dirname $0)
source ./determine_extension_dir.sh
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
-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
diff --git a/src/php/bin/run_tests.sh b/src/php/bin/run_tests.sh
index 1fe68cdab4..5adc77879a 100755
--- a/src/php/bin/run_tests.sh
+++ b/src/php/bin/run_tests.sh
@@ -37,5 +37,5 @@ cd src/php/bin
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 -d max_execution_time=300 $(which phpunit) -v --debug --strict \
../tests/unit_tests