com php-src: Skip tests leaking because of preloading failure.: ext/opcache/tests/preload_004.phpt ext/opcache/test s/preload_009.phpt
ext/opcache/tests/preload_load able_classes_2.phpt ext/opcache/tests/preload_loada ble_classes_3.phpt
| From: | Dmitry Stogov | Date: | Thu, 30 Jul 2020 11:04:14 +0000 |
| Subject: | com php-src: Skip tests leaking because of preloading failure.: ext/opcache/tests/preload_004.phpt ext/opcache/test s/preload_009.phpt ext/opcache/tests/preload_load able_classes_2.phpt ext/opcache/tests/preload_loada ble_classes_3.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112456@lists.php.net to get a copy of this message | ||
Commit: 41de27ecc239e3a7de50446be297e288bb934505
Author: Dmitry Stogov <dmitry@zend.com> Thu, 30 Jul 2020 14:04:14 +0300
Parents: f475edc2f10964f37e3900dd4c447e7cc0d4fb8c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=41de27ecc239e3a7de50446be297e288bb934505
Log:
Skip tests leaking because of preloading failure.
Changed paths:
M ext/opcache/tests/preload_004.phpt
M ext/opcache/tests/preload_009.phpt
M ext/opcache/tests/preload_loadable_classes_2.phpt
M ext/opcache/tests/preload_loadable_classes_3.phpt
Diff:
diff --git a/ext/opcache/tests/preload_004.phpt b/ext/opcache/tests/preload_004.phpt
index c61a73134d..f4dd45a062 100644
--- a/ext/opcache/tests/preload_004.phpt
+++ b/ext/opcache/tests/preload_004.phpt
@@ -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
diff --git a/ext/opcache/tests/preload_009.phpt b/ext/opcache/tests/preload_009.phpt
index c28bab88fe..a13b504cd1 100644
--- a/ext/opcache/tests/preload_009.phpt
+++ b/ext/opcache/tests/preload_009.phpt
@@ -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
diff --git a/ext/opcache/tests/preload_loadable_classes_2.phpt
b/ext/opcache/tests/preload_loadable_classes_2.phpt
index b64102a8fc..665f3157e2 100644
--- a/ext/opcache/tests/preload_loadable_classes_2.phpt
+++ b/ext/opcache/tests/preload_loadable_classes_2.phpt
@@ -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
diff --git a/ext/opcache/tests/preload_loadable_classes_3.phpt
b/ext/opcache/tests/preload_loadable_classes_3.phpt
index f63d19567c..97309a6fcc 100644
--- a/ext/opcache/tests/preload_loadable_classes_3.phpt
+++ b/ext/opcache/tests/preload_loadable_classes_3.phpt
@@ -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