php: need additional cli flags in scripts

pull/3478/head
Stanley Cheung 9 years ago
parent 0972f146f8
commit 81449fdb7f
  1. 2
      src/php/bin/interop_client.sh
  2. 4
      src/php/bin/run_gen_code_test.sh
  3. 2
      src/php/bin/run_tests.sh

@ -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
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
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

Loading…
Cancel
Save