> Dennis Clarke wrote:
>
>> Is there a way to allow the testsuite to just run regardless of
>> how long it takes?
>
> I think you need to pass "set timeout -1" into dejagnu. I'd suggest a larger
> positive timeout instead.
>
> I forget the correct way to do this - I used to end up editing the .exp
> files in /usr/share/dejagnu.
okay .. that sounds like a good hint.
Well .. the file in the default share/dejagnu directory look like so :
$ ls
baseboards framework.exp mondfe.exp standard.exp testglue.c
config ftp.exp remote.exp stub-loader.c tip.exp
debugger.exp kermit.exp rlogin.exp target.exp util-defs.exp
dejagnu.exp libexec rsh.exp targetdb.exp utils.exp
dg.exp libgloss.exp runtest.exp telnet.exp xsh.exp
$
somehow .. that can not be right. Let's look in the GCC 4.2.1 objdir area
for files that end with .exp :
$ cd gcc-4.2.1-build
$ find . -type f | grep "\.exp"
./gcc/testsuite/gcc/site.exp
./gcc/site.exp
$
okay .. now we are getting somewhere. Maybe :-\
$ cat ./gcc/testsuite/gcc/site.exp
## these variables are automatically generated by make ##
# Do not edit here. If you wish to override these values
# add them to the last section
set rootme "/opt/build/gcc-4.2.1-build/gcc"
set srcdir "/export/home/dclarke/build/gcc-4.2.1/gcc"
set host_triplet sparc-sun-solaris2.8
set build_triplet sparc-sun-solaris2.8
set target_triplet sparc-sun-solaris2.8
set target_alias sparc-sun-solaris2.8
set libiconv "/export/home/dclarke/local/lib/libiconv.so
-R/export/home/dclarke/local/lib"
set CFLAGS ""
set CXXFLAGS ""
set HOSTCC "cc"
set HOSTCFLAGS "-g"
set TESTING_IN_BUILD_TREE 1
set HAVE_LIBSTDCXX_V3 1
set tmpdir /opt/build/gcc-4.2.1-build/gcc/testsuite/gcc
set srcdir "${srcdir}/testsuite"
## All variables above are generated by configure. Do Not Edit ##
$
there is not much there that looks helpful ... and both those files look to
be the same :
$ ls -li ./gcc/testsuite/gcc/site.exp ./gcc/site.exp
263449 -rw-r--r-- 1 dclarke csw 759 Jul 31 20:58 ./gcc/site.exp
1282849 -rw-r--r-- 1 dclarke csw 763 Jul 31 20:58
./gcc/testsuite/gcc/site.exp
$ diff ./gcc/testsuite/gcc/site.exp ./gcc/site.exp
17c17
< set tmpdir /opt/build/gcc-4.2.1-build/gcc/testsuite/gcc
---
> set tmpdir /opt/build/gcc-4.2.1-build/gcc/testsuite
$
great ... so then ... perhaps I do have to go back to the exp files in the
default dejagnu area ?
oh to heck with this ... perhaps I can tar up the whole objdir and move it
over to a 1.6GHz UltraSparc box and test it there .. but that defeats the
purpose.
Thanks for trying
Dennis