]> granicus.if.org Git - php/commitdiff
Skip preload test under asan
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 9 Nov 2020 08:46:48 +0000 (09:46 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 9 Nov 2020 08:46:48 +0000 (09:46 +0100)
Just like the other preload tests with startup failures, this may
cause leaks.

ext/opcache/tests/preload_parse_error.phpt

index b1ad812447b9f6195e3c1596cd2f1e5e7bab15e8..da9879ad3577d9921b511eb9c87b291d2b076344 100644 (file)
@@ -9,6 +9,7 @@ opcache.preload={PWD}/preload_parse_error.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--
 OK