diff options
author | Marcus Boerger <helly@php.net> | 2005-12-18 12:08:18 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-12-18 12:08:18 +0000 |
commit | 6370ae56edb91d3ed8ae7192b6c264210b8424ea (patch) | |
tree | af58ea80c87f8cc4ff180b12deea902e087dbe0d /run-tests.php | |
parent | a9ffac3eda410debd1504e87f81cf7bcfe97f880 (diff) | |
download | php-git-6370ae56edb91d3ed8ae7192b6c264210b8424ea.tar.gz |
- MFH Increase timeut for -m testing
Diffstat (limited to 'run-tests.php')
-rwxr-xr-x | run-tests.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/run-tests.php b/run-tests.php index b20a3976eb..4c9bf0d1a7 100755 --- a/run-tests.php +++ b/run-tests.php @@ -757,6 +757,8 @@ function error_report($testname, $logname, $tested) function system_with_timeout($commandline) { + global $leak_check; + $data = ""; $proc = proc_open($commandline, array( @@ -775,7 +777,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 */ |