1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3'

* PHP-8.3:
  Increase run-tests.php timeout for asan
This commit is contained in:
Ilija Tovilo
2023-08-30 23:10:30 +02:00

View File

@@ -1212,6 +1212,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 */