Skip to content

Commit 5df461b

Browse files
committed
Skip preload test under asan
Just like the other preload tests with startup failures, this may cause leaks.
1 parent b1019f4 commit 5df461b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/tests/preload_parse_error.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_parse_error.inc
99
<?php
1010
require_once('skipif.inc');
1111
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
12+
if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
1213
?>
1314
--FILE--
1415
OK

0 commit comments

Comments
 (0)