com php-src: Skip preload test under asan: ext/opcache/tests/pr eload_parse_error.phpt
| From: | Nikita Popov | Date: | Mon, 09 Nov 2020 08:46:48 +0000 |
| Subject: | com php-src: Skip preload test under asan: ext/opcache/tests/pr eload_parse_error.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-114084@lists.php.net to get a copy of this message | ||
Commit: 5df461bc91a5b6856a31ffeda717ee1fc988ce5e
Author: Nikita Popov <nikita.ppv@gmail.com> Mon, 9 Nov 2020 09:46:48 +0100
Parents: b1019f46ed79599df76cad1bc06587083f477b19
Branches: PHP-8.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5df461bc91a5b6856a31ffeda717ee1fc988ce5e
Log:
Skip preload test under asan
Just like the other preload tests with startup failures, this may
cause leaks.
Changed paths:
M ext/opcache/tests/preload_parse_error.phpt
Diff:
diff --git a/ext/opcache/tests/preload_parse_error.phpt b/ext/opcache/tests/preload_parse_error.phpt
index b1ad812447b..da9879ad357 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