Skip to content

Commit 41de27e

Browse files
committed
Skip tests leaking because of preloading failure.
1 parent f475edc commit 41de27e

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

Diff for: ext/opcache/tests/preload_004.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_undef_const.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
<?php

Diff for: ext/opcache/tests/preload_009.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_undef_const_2.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
<?php

Diff for: ext/opcache/tests/preload_loadable_classes_2.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_loadable_classes_2.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
Unreachable

Diff for: ext/opcache/tests/preload_loadable_classes_3.phpt

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_loadable_classes_3.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
Unreachable

0 commit comments

Comments
 (0)