Skip to content

Commit 0d94b58

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Increase run-tests.php timeout for asan
2 parents d5bfaec + 8f4738f commit 0d94b58

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
@@ -1212,6 +1212,10 @@ function system_with_timeout(
12121212
}
12131213

12141214
$timeout = $valgrind ? 300 : ($env['TEST_TIMEOUT'] ?? 60);
1215+
/* ASAN can cause a ~2-3x slowdown. */
1216+
if (isset($env['SKIP_ASAN'])) {
1217+
$timeout *= 3;
1218+
}
12151219

12161220
while (true) {
12171221
/* hide errors from interrupted syscalls */

0 commit comments

Comments
 (0)