add if statement around PersistentChannelTests. run the tests by default

pull/19758/head
Hannah Shi 6 years ago
parent 970ae3c112
commit f0fb27e8cd
  1. 14
      src/php/bin/run_tests.sh

@ -25,8 +25,18 @@ export DYLD_LIBRARY_PATH=$root/libs/$CONFIG
$(which php) $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \
--exclude-group persistent_list_bound_tests ../tests/unit_tests
$(which php) $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \
../tests/unit_tests/PersistentChannelTests
for arg in "$@"
do
if [[ "$arg" == "--skip-persistent-channel-tests" ]]; then
SKIP_PERSISTENT_CHANNEL_TESTS=true
break
fi
done
if [[ "$SKIP_PERSISTENT_CHANNEL_TESTS" != "true" ]]; then
$(which php) $extension_dir -d max_execution_time=300 $(which phpunit) -v --debug \
../tests/unit_tests/PersistentChannelTests
fi
export ZEND_DONT_UNLOAD_MODULES=1
export USE_ZEND_ALLOC=0

Loading…
Cancel
Save