From 63b1cdfcf8356c5f448710cd4f0ba0fa28e5f54e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Oct 2017 17:35:57 +0200 Subject: minor --- php-iamcal-lib-autolink.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php-iamcal-lib-autolink.spec b/php-iamcal-lib-autolink.spec index 189c1f5..df0dda1 100644 --- a/php-iamcal-lib-autolink.spec +++ b/php-iamcal-lib-autolink.spec @@ -66,6 +66,7 @@ ln -s lib_autolink.php %{buildroot}%{_datadir}/php/%{name}/autoload.php %if %{with_tests} sed -e 's/\$this/$thiz/' -i t/testmore.php +>tests.log for cmd in php php56 php70 php71 php72; do if which $cmd; then for unit in t/*.t; do @@ -74,7 +75,7 @@ for cmd in php php56 php70 php71 php72; do fi done -grep -q '^not ok' tests.log && exit 1 || exit 0 +grep '^not ok' tests.log && exit 1 %else : Test suite disabled %endif -- cgit