Skip to content

Commit de46ba2

Browse files
committed
Skip xdebug tests for PHP 8.5: package not yet available
- Remove xdebug symlink from extensions/8.5 (php8.5-xdebug doesn't exist) - Skip xdebug tests for PHP 8.5 - Skip blackfire+xdebug conflict test for PHP 8.5
1 parent 5ab7c66 commit de46ba2

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

extensions/8.5/xdebug

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests-suite/php-blackfire.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ test_enable() {
88
assert_equals "0" "$?"
99
}
1010
test_alertConflictWithXDebug() {
11+
# Skip this test for PHP 8.5 since xdebug is not yet available
12+
if [[ "${PHP_VERSION}" == "8.5" ]]; then
13+
echo "-- Skipping blackfire+xdebug conflict test for PHP${PHP_VERSION} (xdebug not available)"
14+
return 0
15+
fi
1116
# Tests that blackfire + xdebug will output an error
1217
RESULT="$(docker run ${RUN_OPTIONS} --rm -e PHP_EXTENSION_XDEBUG=1 -e PHP_EXTENSION_BLACKFIRE=1 \
1318
"${REPO}:${TAG_PREFIX}${PHP_VERSION}-${BRANCH}-${BRANCH_VARIANT}" \

tests-suite/php-xdebug.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#!/usr/bin/env bash
22
. ./config
33

4+
# xdebug is not yet available for PHP 8.5
5+
if [[ "${PHP_VERSION}" == "8.5" ]]; then
6+
echo "-- PHP${PHP_VERSION} does not yet have xdebug package available"
7+
return 0
8+
fi
9+
410
############################################################
511
## xdebug
612
############################################################

0 commit comments

Comments
 (0)