From 6f34dbfa78494e4a19de155c0f39735069320b5b Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 18 Dec 2005 12:11:54 +0000 Subject: [PATCH] - Increase timeut for -m testing --- run-tests.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-tests.php b/run-tests.php index eac645fce5..dfd54ae051 100755 --- a/run-tests.php +++ b/run-tests.php @@ -775,6 +775,8 @@ function error_report($testname, $logname, $tested) function system_with_timeout($commandline) { + global $leak_check; + $data = ""; $proc = proc_open($commandline, array( @@ -793,7 +795,7 @@ function system_with_timeout($commandline) $r = $pipes; $w = null; $e = null; - $n = @stream_select($r, $w, $e, 60); + $n = @stream_select($r, $w, $e, $leak_check ? 300 : 60); if ($n === 0) { /* timed out */ -- 2.50.1