From 703403b255750c71117a878c59747c2a85769789 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Sep 2019 08:28:05 +0200 Subject: skip 1 test with 7.4 --- phpunit7.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/phpunit7.spec b/phpunit7.spec index 0b97cd3..94117a1 100644 --- a/phpunit7.spec +++ b/phpunit7.spec @@ -258,8 +258,11 @@ sed -e 's:%{php_home}/%{ns_vendor}:%{buildroot}%{php_home}/%{ns_vendor}:' -i php ret=0 # TODO 7.4: Exception: Serialization of 'ReflectionClass' is not allowed -for cmd in php php71 php72 php73; do +for cmd in php php71 php72 php73 php74; do if which $cmd; then + if [ $($cmd -r 'echo PHP_VERSION_ID;') -ge 70400 ]; then + OPT="$OPT --filter '^((?!(testStaticAttributesBackupPre)).)*$'" + fi $cmd ./phpunit $OPT --verbose || ret=1 fi done -- cgit