diff options
author | Shawn Iwinski <shawn@iwin.ski> | 2017-07-07 09:42:31 -0400 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-07-10 06:10:15 +0200 |
commit | 45e2b16d12e4ce6fdfbf034e3925111e0c91b6e0 (patch) | |
tree | 58856344dffa7d0351371118846b60aa1ed4af2d | |
parent | 2d1fd3a3c87d3467bb7d38f07552ba28babcc9c2 (diff) |
Fix %check to fail when upstream tests fail
-rw-r--r-- | php-guzzlehttp-guzzle6.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/php-guzzlehttp-guzzle6.spec b/php-guzzlehttp-guzzle6.spec index ff2891c..147d443 100644 --- a/php-guzzlehttp-guzzle6.spec +++ b/php-guzzlehttp-guzzle6.spec @@ -39,7 +39,7 @@ Name: php-%{composer_vendor}-%{composer_project}6 Version: %{github_version} -Release: 2%{?github_release}%{?dist} +Release: 3%{?github_release}%{?dist} Summary: PHP HTTP client library Group: Development/Libraries @@ -186,7 +186,7 @@ RETURN_CODE=0 PHPUNIT=$(which phpunit) for PHP_EXEC in "" php56 php70 php71 php72; do if [ -z "$PHP_EXEC" ] || which $PHP_EXEC; then - $PHP_EXEC $PHPUNIT --verbose + $PHP_EXEC $PHPUNIT --verbose || RETURN_CODE=1 fi done exit $RETURN_CODE @@ -204,6 +204,9 @@ exit $RETURN_CODE %changelog +* Fri Jul 07 2017 Shawn Iwinski <shawn@iwin.ski> - 6.3.0-3 +- Fix %%check to fail when upstream tests fail + * Wed Jul 05 2017 Shawn Iwinski <shawn@iwin.ski> - 6.3.0-2 - Add patch to fix version - Add check for version and run whether tests are skipped or not |