Skip to content

Commit 7b09aba

Browse files
committed
[skip ci] Skip test with ASAN due to LSAN bug on Clang 14
1 parent 32cdd33 commit 7b09aba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sapi/cli/tests/ext_loading.phpt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ if (!file_exists($extDir . '/opcache.so') && !file_exists($extDir . '/php_opcach
77
die('skip Opcache shared object not found in extension_dir');
88
}
99
?>
10+
--SKIPIF--
11+
<?php if (getenv('SKIP_ASAN')) die('xfail LSAN bug on Clang 14 marks this as leaking'); ?>
1012
--FILE--
1113
<?php
1214

@@ -53,11 +55,11 @@ Output: Done.
5355
Absolute path:
5456
Output: Done.
5557
Unknown extension name (unknown):
56-
Output:
58+
Output:
5759
Warning: Failed loading Zend extension 'unknown_ext' (tried: %s) in Unknown on line 0
5860
Done.
5961
Name with file extension (unknown):
60-
Output:
62+
Output:
6163
Warning: Failed loading Zend extension '%Sunknown_ext%S' (tried: %s) in Unknown on line 0
6264
Done.
6365
Absolute path (unknown):

0 commit comments

Comments
 (0)