]> granicus.if.org Git - php/commitdiff
Skip tests leaking because of preloading failure.
authorDmitry Stogov <dmitry@zend.com>
Thu, 30 Jul 2020 11:04:14 +0000 (14:04 +0300)
committerDmitry Stogov <dmitry@zend.com>
Thu, 30 Jul 2020 11:04:14 +0000 (14:04 +0300)
ext/opcache/tests/preload_004.phpt
ext/opcache/tests/preload_009.phpt
ext/opcache/tests/preload_loadable_classes_2.phpt
ext/opcache/tests/preload_loadable_classes_3.phpt

index c61a73134d0114d6b46ca6319eb81cfbc085f959..f4dd45a062ecfa37825cd742d7c657d76b7b3df6 100644 (file)
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_undef_const.inc
 <?php
 require_once('skipif.inc');
 if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
+if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
 ?>
 --FILE--
 <?php
index c28bab88fed18ca1d96aec78039a97f4472045e1..a13b504cd14b48263ad63e17976b63f8e83f8351 100644 (file)
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_undef_const_2.inc
 <?php
 require_once('skipif.inc');
 if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
+if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
 ?>
 --FILE--
 <?php
index b64102a8fc949a7be4607023b500980fd7833c06..665f3157e201fa5911c41fce7054568baa49a5ec 100644 (file)
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_loadable_classes_2.inc
 <?php
 require_once('skipif.inc');
 if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
+if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
 ?>
 --FILE--
 Unreachable
index f63d19567cc2274e96509b3455411b8a692a290b..97309a6fccfe2082dbf5dd9f494765107b29695e 100644 (file)
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_loadable_classes_3.inc
 <?php
 require_once('skipif.inc');
 if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
+if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
 ?>
 --FILE--
 Unreachable