[v3] set timeout higher

Rask Ingemann Lambertsen rask@sygehus.dk
Fri Aug 25 20:04:00 GMT 2006


On Thu, Jun 29, 2006 at 12:38:56PM -0500, Benjamin Kosnik wrote:
> 
> This patch doubles the time dejagnu takes before timing out a compile
> from 5 minutes to 10 minutes for libstdc++ tests.

> Index: testsuite/lib/libstdc++.exp
> ===================================================================
> --- testsuite/lib/libstdc++.exp	(revision 115072)
> +++ testsuite/lib/libstdc++.exp	(working copy)
> @@ -348,6 +348,7 @@
>      }
>  
>      lappend options "compiler=$cxx_final"
> +    lappend options "timeout=600"
>  
>      return [target_compile $source $dest $type $options]
>  }

Doesn't this override any timeout I might have specified? On my box, I need
a lot more than 600 s. For example:

$ time [long gcc command line here] -o ./hash_no_data_map_rand.exe

real    17m34.072s
user    11m51.132s
sys     0m21.069s

If my attempts to set the dejagnu timeout to 5400 s in my local
configuration files had worked, your patch would have introduced testsuite
failures due to timeouts, wouldn't it?

-- 
Rask Ingemann Lambertsen



More information about the Libstdc++ mailing list