public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How do I run dejagnu's runtest with other timeout value for specific tests in gcc's testsuite?
@ 2002-10-21 16:13 Christian Jönsson
  2002-10-22  3:18 ` Ben Elliston
  0 siblings, 1 reply; 3+ messages in thread
From: Christian Jönsson @ 2002-10-21 16:13 UTC (permalink / raw)
  To: gcc

I might sound a bit stupid here but hey, I'll take the chance then...

How do you run the testsuite, let's say a specific test, with a
timeout that's not the default, i.e., the value set in the dejagnu
files?

I'm thnking of something like this:

make check-gcc RUNTESTFLAGS="gcc.c-torture/compile.exp=20001226-1* other-options"

can I for example set timeout = 600  somehow as other-options?

Tha problem is that I get timeouts like this:

		=== gcc tests ===


Running target unix
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -O1  
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -O2  
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -fomit-frame-pointer  
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -g  
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -Os  

that I would like to see if they are due to my system being too old or
if it's simply not ever coming to a halt...

From the log file, I see the following:

Executing on host: /share1/gcc-dev/objdir/gcc/xgcc -B/share1/gcc-dev/objdir/gcc/  -w  -O0   -c  -o /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/20001226-1.o /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/testsuite/gcc.c-torture/compile/20001226-1.c    (timeout = 300)
PASS: gcc.c-torture/compile/20001226-1.c,  -O0
Executing on host: /share1/gcc-dev/objdir/gcc/xgcc -B/share1/gcc-dev/objdir/gcc/  -w  -O1   -c  -o /usr/local/src/gcc-binutils/trunk/objdir/gcc/testsuite/20001226-1.o /usr/local/src/gcc-binutils/trunk/gcc-binutils/gcc/testsuite/gcc.c-torture/compile/20001226-1.c    (timeout = 300)
WARNING: program timed out.
compiler exited with status 1
FAIL: gcc.c-torture/compile/20001226-1.c,  -O1

etc.

Cheers,

/ChJ

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-22 18:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 16:13 How do I run dejagnu's runtest with other timeout value for specific tests in gcc's testsuite? Christian Jönsson
2002-10-22  3:18 ` Ben Elliston
2002-10-22 14:15   ` Christian Jönsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).