Testsuite for Cross Toolchain

Rupert Wood me@rupey.net
Thu Aug 21 09:08:00 GMT 2003


Michael LeBlanc wrote: 

> I have succesfully built the GNU Toolchain, with GCC 3.3, on an x86
> box running Redhat 9, targetting PowerPC also running a version of
> Linux.  It works!  I can build a program on the x86 box and run it
> on the PPC box.  Now I want to run the GCC testsuite.  That's all.
>
> I fetched recent source for Dejagnu, Expect, and Tcl/Tk, built
> everything and am hopelessly lost in a mountain of complexity.
:
> These machines are networked and can communicate via NFS, ssh, etc.

Yeah, that's something I never figured out - but I was trying to test a
mingw32 cross built on Solaris so half the problem was getting it to talk to
my Windows test machine in way dejagnu understood.

The remoting magic is purely a dejagnu thing. You need to pass
RUNTESTFLAGS=<something> on your make check step and possibly have set up
other environment vars for it too. The best place to look would be the
dejagnu manual, linked on its homepage

    http://www.gnu.org/software/dejagnu/dejagnu.html

and they've got a low-volume mailing list you could probably ask on if
necessary.

Alternatively you can run the GCC against GDB's powerpc simulator

    http://gcc.gnu.org/simtest-howto.html

which is very simple to set up but if you've got the hardware then that's a
better solution.

Good luck!
Rup.



More information about the Gcc-help mailing list