From 1b3b430f478c785c88655533518a66b88ece060a Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 21 Oct 2020 15:01:47 +0200 Subject: Add --repeat testing mode This testing mode executes the test multiple times in the same process (but in different requests). It is primarily intended to catch tracing JIT bugs, but also catches state leaks across requests. Closes GH-6365. --- ext/pcntl/tests/002.phpt | 1 + ext/pcntl/tests/pcntl_unshare_01.phpt | 1 + ext/pcntl/tests/pcntl_unshare_02.phpt | 1 + ext/pcntl/tests/pcntl_unshare_03.phpt | 1 + 4 files changed, 4 insertions(+) (limited to 'ext/pcntl/tests') diff --git a/ext/pcntl/tests/002.phpt b/ext/pcntl/tests/002.phpt index 68b2643092..254da86136 100644 --- a/ext/pcntl/tests/002.phpt +++ b/ext/pcntl/tests/002.phpt @@ -7,6 +7,7 @@ pcntl: pcntl_sigprocmask(), pcntl_sigwaitinfo(), pcntl_sigtimedwait() elseif (!function_exists('pcntl_sigwaitinfo') or !function_exists('pcntl_sigtimedwait')) die('skip required functionality is not available'); elseif (!defined('CLD_EXITED')) die('skip CLD_EXITED not defined'); elseif (getenv('SKIP_ASAN')) die('skip Fails intermittently under asan/msan'); + elseif (getenv("SKIP_REPEAT")) die("skip cannot be repeated"); ?> --FILE-- --FILE-- --FILE-- --FILE--