summaryrefslogtreecommitdiffstats
path: root/php-phpunit-PHPUnit-MockObject.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phpunit-PHPUnit-MockObject.spec')
-rw-r--r--php-phpunit-PHPUnit-MockObject.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/php-phpunit-PHPUnit-MockObject.spec b/php-phpunit-PHPUnit-MockObject.spec
index bebae67..ae744e3 100644
--- a/php-phpunit-PHPUnit-MockObject.spec
+++ b/php-phpunit-PHPUnit-MockObject.spec
@@ -135,12 +135,16 @@ cat <<EOF >>tests/bootstrap.php
require __DIR__ . '/_fixture/autoload.php';
EOF
+FILTER="testGetMockForSingletonWithReflectionSuccess"
+
: Run tests - set include_path to ensure PHPUnit autoloader use it
ret=0
for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd -d include_path=.:%{buildroot}%{php_home}:%{php_home} \
- %{_bindir}/phpunit --no-coverage || ret=1
+ %{_bindir}/phpunit \
+ --filter "^((?!($FILTER)).)*$" \
+ --no-coverage || ret=1
fi
done
exit $ret