From 52c9c6a9a7cdf1594286363b11db20a27eabfce1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 11 Feb 2019 16:50:23 +0100 Subject: ignore tests with erratic results --- php-zendframework-zenddiagnostics.spec | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/php-zendframework-zenddiagnostics.spec b/php-zendframework-zenddiagnostics.spec index 1ceb2e8..e20c01c 100644 --- a/php-zendframework-zenddiagnostics.spec +++ b/php-zendframework-zenddiagnostics.spec @@ -20,10 +20,9 @@ Name: php-%{pk_vendor}-%{pk_project} Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A set of components for performing diagnostic tests -Group: Development/Libraries License: BSD URL: https://framework.zend.com/ Source0: %{gh_commit}/%{name}-%{version}-%{gh_short}.tgz @@ -171,11 +170,17 @@ require_once '%{buildroot}%{php_home}/%{library}/autoload.php'; ]); EOF +# testJitFreeSpace have erratic results as rely on free space in builder /tmp +# testCheck have erratic results from reviewer +# test in GuzzleHttpServiceTest.php sometime fail in local build, ok in mock + ret=0 for cmdarg in "php %{phpunit}" php71 php72 php73; do if which $cmdarg; then set $cmdarg - $1 ${2:-%{_bindir}/phpunit7} --verbose || ret=1 + $1 ${2:-%{_bindir}/phpunit7} \ + --filter '^((?!(testJitFreeSpace|testCheck)).)*$' \ + --verbose || ret=1 fi done exit $ret @@ -194,6 +199,9 @@ exit $ret %changelog +* Thu Jan 10 2019 Remi Collet - 1.4.0-2 +- ignore tests with erratic results + * Thu Jan 10 2019 Remi Collet - 1.4.0-1 - update to 1.4.0 - raise dependency on sensiolabs/security-checker 5.0 -- cgit