Skip to content

Commit 936538d

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: Increase run-tests.php timeout for asan
2 parents f134b0e + f4a6a6d commit 936538d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

run-tests.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,10 @@ function system_with_timeout(
12041204
}
12051205

12061206
$timeout = $valgrind ? 300 : ($env['TEST_TIMEOUT'] ?? 60);
1207+
/* ASAN can cause a ~2-3x slowdown. */
1208+
if (isset($env['SKIP_ASAN'])) {
1209+
$timeout *= 3;
1210+
}
12071211

12081212
while (true) {
12091213
/* hide errors from interrupted syscalls */

0 commit comments

Comments
 (0)