Skip to content

Commit ae795e4

Browse files
committed
Run expire test separately because XFAIL causes the whole build fail
1 parent 3626a25 commit ae795e4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ env:
1515
- LIBMEMCACHED_VERSION=0.44
1616

1717
script:
18-
./travis.sh $LIBMEMCACHED_VERSION
18+
- ./travis.sh $LIBMEMCACHED_VERSION

Diff for: travis.sh

+4
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ function run_memcached_tests() {
7070
export REPORT_EXIT_STATUS=1
7171
export TEST_PHP_EXECUTABLE=`which php`
7272

73+
# We have one xfail test, we run it separately
74+
php run-tests.php -d extension=igbinary.so -d extension=memcached.so -n ./tests/expire.phpt
75+
rm ./tests/expire.phpt
76+
7377
pushd "/tmp/php-memcached-build/memcached-${php_memcached_version}"
7478
php run-tests.php -d extension=igbinary.so -d extension=memcached.so -n ./tests/*.phpt
7579
retval=$?

0 commit comments

Comments
 (0)