summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-01-29 11:05:01 +0100
committerRemi Collet <remi@remirepo.net>2021-01-29 11:05:01 +0100
commit3fe3270672f0d3b46a2903ba40f28371d512b82d (patch)
treed0ab93fd1bf96bfe6aed15c5ba292a1ced197417
parent70ca2c8039f7ac974fca7393c436055430a97dc7 (diff)
really fix FTBFSHEADmaster
-rw-r--r--phpcov.spec9
1 files changed, 6 insertions, 3 deletions
diff --git a/phpcov.spec b/phpcov.spec
index 62274df..b3c3200 100644
--- a/phpcov.spec
+++ b/phpcov.spec
@@ -58,7 +58,7 @@ BuildRequires: php-sebastian-cli-parser
BuildRequires: php-sebastian-diff4
BuildRequires: php-sebastian-version3
%endif
-BuildRequires: php-pecl(Xdebug)
+BuildRequires: php-pecl(Xdebug) >= 3
%endif
# from composer.json
@@ -154,9 +154,12 @@ rm tests/end-to-end/merge/valid-directory-with-text-report-stdout.phpt
rm tests/end-to-end/help/help.phpt
rm tests/end-to-end/help/help2.phpt
-# TODO php80 when xdebug will be available
+# Needed for XDebug 3
+find tests -name \*.phpt \
+ -exec sed -e '/xdebug.overload_var_dump/d' -i {} \;
+
ret=0
-for cmd in php php73 php74; do
+for cmd in php php73 php74 php80; do
if which $cmd; then
$cmd $EXT %{_bindir}/phpunit9 --testsuite end-to-end --verbose || ret=1
fi