Re: gcc-testresults: extend time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



David Fang wrote:

>         Is there a way to increase the time limit of tests run in the
> testsuite?  I searched for an answer on the testresults pages, FAQ, wiki,
> and online docs, but found none.  I'm running "make -k -j2 check" on an
> OLD powerpc Mac, and it could use some time extension, as many tests are
> timing out.  Thanks in advance.

You can append "set_board_info gcc,timeout 5400" to the end of your
board file, by default /usr/share/dejagnu/baseboards/unix.exp.  I think
you may need one such line for each set of tests whose timeout you want
to increase, e.g. gcc, g++, gfortran, libgomp, etc.  It should be
possible to do this without editing dejagnu files via the
$HOME/.dejagnurc but I haven't found the right incantation for that. 
There's some more info at:
<http://gcc.gnu.org/ml/gcc/2006-09/msg00155.html>

There's another problem in that some testsuites override the default
timeout.  For example in testsuite/lib/libstdc++.exp you will see it set
to 600.  This is PR28870:
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28870>, which appears to
have a patch pending:
<http://gcc.gnu.org/ml/gcc-patches/2008-03/msg00267.html>.  Until that
gets cleared up I think you'll have to just modify libstdc++.exp if you
need it larger.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux