This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How do I run dejagnu's runtest with other timeout value for specific tests in gcc's testsuite?
- From: Christian Jönsson <christian at j-son dot org>
- To: gcc <gcc at gcc dot gnu dot org>
- Date: Mon, 21 Oct 2002 21:34:57 +0200
- Subject: How do I run dejagnu's runtest with other timeout value for specific tests in gcc's testsuite?
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