summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-11-09 09:46:48 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-11-09 09:46:48 +0100
commit5df461bc91a5b6856a31ffeda717ee1fc988ce5e (patch)
treee74056d4bd1d83b02762e2a3bf6cf5f459ef0f7b
parentb1019f46ed79599df76cad1bc06587083f477b19 (diff)
downloadphp-git-5df461bc91a5b6856a31ffeda717ee1fc988ce5e.tar.gz
Skip preload test under asan
Just like the other preload tests with startup failures, this may cause leaks.
-rw-r--r--ext/opcache/tests/preload_parse_error.phpt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/tests/preload_parse_error.phpt b/ext/opcache/tests/preload_parse_error.phpt
index b1ad812447..da9879ad35 100644
--- a/ext/opcache/tests/preload_parse_error.phpt
+++ b/ext/opcache/tests/preload_parse_error.phpt
@@ -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