diff --git a/Zend/tests/gh12073.phpt b/Zend/tests/gh12073.phpt index ef115685ce7d4..efcbd9db3f1e2 100644 --- a/Zend/tests/gh12073.phpt +++ b/Zend/tests/gh12073.phpt @@ -5,6 +5,14 @@ GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure if (getenv("USE_ZEND_ALLOC") === "0" && getenv("USE_TRACKED_ALLOC") !== "1") { die("skip Zend MM disabled"); } +$tracing = extension_loaded("Zend OPcache") + && ($conf = opcache_get_configuration()["directives"]) + && array_key_exists("opcache.jit", $conf) + && $conf["opcache.jit"] === "tracing"; +if (PHP_OS_FAMILY === "Windows" && PHP_INT_SIZE == 8 && $tracing && getenv('SKIP_ASAN')) { + $url = "https://github.com/php/php-src/issues/15709"; + die("xfail Test fails on Windows x64 (VS17) and tracing JIT with ASan; see $url"); +} ?> --FILE-- --FILE-- --FILE-- --FILE-- --FILE--