From 54dd762f596d4b0ea97d6d10e9d0c96e0f33e76e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 20 Jun 2019 16:51:14 +0200 Subject: Set up asan+ubsan scheduled build on azure Also adds an --asan flag to run-tests.php to setup all the necessary environment variables. Some tests are marked as skipped because they are incompatible with asan or too slow. I'm basing this on the DEBUG_ZTS build, which seems to give us the most mileage. --- ext/pcntl/tests/pcntl_unshare_02.phpt | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/pcntl/tests') diff --git a/ext/pcntl/tests/pcntl_unshare_02.phpt b/ext/pcntl/tests/pcntl_unshare_02.phpt index a046759730..bdcb6120ef 100644 --- a/ext/pcntl/tests/pcntl_unshare_02.phpt +++ b/ext/pcntl/tests/pcntl_unshare_02.phpt @@ -6,6 +6,7 @@ if (!extension_loaded("pcntl")) die("skip"); if (!extension_loaded("posix")) die("skip posix extension not available"); if (!function_exists("pcntl_unshare")) die("skip pcntl_unshare is not available"); if (!defined("CLONE_NEWPID")) die("skip flag unavailable"); +if (getenv("SKIP_ASAN")) die("skip asan chokes on this"); if (posix_getuid() !== 0 && (!defined("CLONE_NEWUSER") || (pcntl_unshare(CLONE_NEWUSER) == false && pcntl_get_last_error() == PCNTL_EPERM))) { -- cgit v1.2.1