Skip to content
Snippets Groups Projects
Commit 62b03e2d authored by Craig Tiller's avatar Craig Tiller
Browse files

Sym-link in system extensions

parent ff7cdd3b
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# Loads the local shared library, and runs all of the test cases in tests/ # Loads the local shared library, and runs all of the test cases in tests/
# against it # against it
set -ex
cd $(dirname $0) cd $(dirname $0)
php -d extension_dir=../ext/grpc/modules/ -d extension=grpc.so \ default_extension_dir=`php -i | grep extension_dir | sed 's/.*=> //g'`
# sym-link in system supplied extensions
for f in $default_extension_dir/*.so
do
ln -s $f ../ext/grpc/modules/$(basename $f) || true
done
php \
-d extension_dir=../ext/grpc/modules/ \
-d extension=grpc.so \
phpunit -v --debug --strict ../tests/unit_tests phpunit -v --debug --strict ../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