[arch-commits] Commit in php/trunk (PKGBUILD)
Pierre Schmitz
pierre at archlinux.org
Sun Dec 6 11:43:38 UTC 2015
Date: Sunday, December 6, 2015 @ 12:43:38
Author: pierre
Revision: 252747
Fix the test suite
Modified:
php/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-06 11:42:53 UTC (rev 252746)
+++ PKGBUILD 2015-12-06 11:43:38 UTC (rev 252747)
@@ -217,23 +217,21 @@
}
check() {
+ cd ${srcdir}/${pkgbase}-${pkgver}
+
# tests on i686 fail
[[ $CARCH == 'i686' ]] && return
# a couple of tests fail in btrfs-backed chroots
[[ $(stat -f -c %T .) == btrfs ]] && return
- cd ${srcdir}/build-php
-
export REPORT_EXIT_STATUS=1
export NO_INTERACTION=1
export SKIP_ONLINE_TESTS=1
export SKIP_SLOW_TESTS=1
- sapi/cli/php -n \
- ${srcdir}/${pkgbase}-${pkgver}/run-tests.php -n -P \
- ${srcdir}/${pkgbase}-${pkgver}/{Zend,ext/{date,pcre,spl,standard},sapi/cli}
-
- echo
+ ${srcdir}/build-php/sapi/cli/php -n \
+ run-tests.php -n -P \
+ {tests,Zend,ext/{spl,standard},sapi/cli}
}
package_php() {
More information about the arch-commits
mailing list