diff options
author | Andrew Dolgov <[email protected]> | 2022-11-23 21:14:33 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-11-23 21:14:33 +0300 |
commit | 0c8af4992cb0f7589dcafaad65ada12753c64594 (patch) | |
tree | 18e83d068c3e7dd2499331de977782b382279396 /vendor/aws/aws-crt-php/run_tests |
initial
Diffstat (limited to 'vendor/aws/aws-crt-php/run_tests')
-rwxr-xr-x | vendor/aws/aws-crt-php/run_tests | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/aws/aws-crt-php/run_tests b/vendor/aws/aws-crt-php/run_tests new file mode 100755 index 0000000..18b449a --- /dev/null +++ b/vendor/aws/aws-crt-php/run_tests @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -ex + +launcher= +if command -v catchsegv; then + launcher=catchsegv +fi + +if [ -z $PHP_BINARY ]; then + PHP_BINARY=$(which php) +fi + +if [ ! -d vendor ]; then + composer update +fi + +$launcher $PHP_BINARY -c php.ini vendor/bin/phpunit tests --debug |