Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Increase run-tests.php timeout for asan
This commit is contained in:
Ilija Tovilo 2023-08-30 23:10:10 +02:00
commit 936538d8d7
No known key found for this signature in database
GPG Key ID: A4F5D403F118200A

View File

@ -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 */