diff options
author | Remi Collet <remi@remirepo.net> | 2017-10-05 17:35:57 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-10-05 17:35:57 +0200 |
commit | 63b1cdfcf8356c5f448710cd4f0ba0fa28e5f54e (patch) | |
tree | 3f6cd61f037d3436f915c54d539fe6c1af315c54 | |
parent | 8eeb77349928f4038369b9075426acdede1e333d (diff) |
minor
-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 |