Skip to content

Commit 319fdcc

Browse files
These tests fail when Xdebug is loaded
1 parent 85be542 commit 319fdcc

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

tests/end-to-end/phar-extension-suppressed.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
phpunit --configuration tests/_files/phpunit-example-extension --no-extensions
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (extension_loaded('xdebug')) {
6+
print 'skip: Extension xdebug must not be loaded.';
7+
}
38
--FILE--
49
<?php declare(strict_types=1);
510
$_SERVER['argv'][1] = '--configuration';

tests/end-to-end/phpt-env.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
PHPT runner should support ENV section
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (extension_loaded('xdebug')) {
6+
print 'skip: Extension xdebug must not be loaded.';
7+
}
38
--ENV--
49
FOO=bar
510
--FILE--

tests/end-to-end/phpt/parse-ini-env-section.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
--TEST--
22
Can parse --INI-- and --ENV-- sections
3+
--SKIPIF--
4+
<?php declare(strict_types=1);
5+
if (extension_loaded('xdebug')) {
6+
print 'skip: Extension xdebug must not be loaded.';
7+
}
38
--INI--
49
date.default_latitude=1.337
510
dummy.key

0 commit comments

Comments
 (0)