mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Increase run-tests.php timeout for asan
This commit is contained in:
commit
936538d8d7
@ -1204,6 +1204,10 @@ function system_with_timeout(
|
||||
}
|
||||
|
||||
$timeout = $valgrind ? 300 : ($env['TEST_TIMEOUT'] ?? 60);
|
||||
/* ASAN can cause a ~2-3x slowdown. */
|
||||
if (isset($env['SKIP_ASAN'])) {
|
||||
$timeout *= 3;
|
||||
}
|
||||
|
||||
while (true) {
|
||||
/* hide errors from interrupted syscalls */
|
||||
|
Loading…
Reference in New Issue
Block a user