mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add a dl() test to Travis
Compile the zend_test extension as shared and try loading it with dl() to test for obvious issues. Doing this as a standalone call because this is very specific to the CI setup.
This commit is contained in:
parent
e9aa0337ab
commit
b2f49c69b1
2 changed files with 3 additions and 2 deletions
|
@ -67,7 +67,8 @@ before_script:
|
||||||
|
|
||||||
# Run PHPs run-tests.php
|
# Run PHPs run-tests.php
|
||||||
script:
|
script:
|
||||||
- ./sapi/cli/php run-tests.php -p `pwd`/sapi/cli/php $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120
|
- ./sapi/cli/php run-tests.php -P -d extension=`pwd`/modules/zend_test.so $(if [ $ENABLE_DEBUG == 0 ]; then echo "-d opcache.enable_cli=1 -d zend_extension=`pwd`/modules/opcache.so"; fi) -g "FAIL,XFAIL,BORK,WARN,LEAK,SKIP" --offline --show-diff --show-slow 1000 --set-timeout 120
|
||||||
|
- sapi/cli/php -d extension_dir=`pwd`/modules -r 'dl("zend_test");'
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- ccache --show-stats
|
- ccache --show-stats
|
||||||
|
|
|
@ -76,7 +76,7 @@ $TS \
|
||||||
--with-xpm-dir=/usr \
|
--with-xpm-dir=/usr \
|
||||||
--with-kerberos \
|
--with-kerberos \
|
||||||
--enable-sysvmsg \
|
--enable-sysvmsg \
|
||||||
--enable-zend-test \
|
--enable-zend-test=shared \
|
||||||
> "$CONFIG_LOG_FILE"
|
> "$CONFIG_LOG_FILE"
|
||||||
|
|
||||||
make "-j${MAKE_JOBS}" $MAKE_QUIET > "$MAKE_LOG_FILE"
|
make "-j${MAKE_JOBS}" $MAKE_QUIET > "$MAKE_LOG_FILE"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue