diff options
-rw-r--r-- | php-iamcal-lib-autolink.spec | 3 |
1 files changed, 2 insertions, 1 deletions
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 |