summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-02-11 16:50:23 +0100
committerRemi Collet <remi@remirepo.net>2019-02-11 16:50:23 +0100
commit52c9c6a9a7cdf1594286363b11db20a27eabfce1 (patch)
tree3661acc2074601a32c1198e2ff67372847612be2
parent603c4890fe391b283d61d7c2540168a02f68ae5c (diff)
ignore tests with erratic results
-rw-r--r--php-zendframework-zenddiagnostics.spec14
1 files 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 <remi@remirepo.net> - 1.4.0-2
+- ignore tests with erratic results
+
* Thu Jan 10 2019 Remi Collet <remi@remirepo.net> - 1.4.0-1
- update to 1.4.0
- raise dependency on sensiolabs/security-checker 5.0