This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite]
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: qinfeng dot zhang at philips dot com
- Cc: gcc at gcc dot gnu dot org, <gcc-help at gcc dot gnu dot org>
- Date: Thu, 19 Jun 2003 06:49:58 -0400 (EDT)
- Subject: Re: [testsuite]
On Thu, 19 Jun 2003 qinfeng.zhang@philips.com wrote:
> I met some problem when using gcc-testsuite for a cross compiler.
> I have succeeded in porting gcc for a DSP processor, which has its
> simulator running under Linux in i386. Now I want to use GCC test-
> suite. But when running testsuite with flags:
>
> RUNTESTFLAGS="execute.exp"
For cross-compiler-testing, you need to add a "board description
file" to dejagnu/baseboards that describe what libraries to link
with and how to run the simulator. See the existing files with
"sim" in their names and the simtest-howto.html page for the
right way to specify it in your RUNTESTFLAGS setting.
> All test-cased are failed in compilation testing.
When linking the program, I presume?
> However the cross
> compiler has passed the compiling test
What do you mean by passing? Oh, you mean no errors in
gcc.c-torture/compile/compile.exp? That's because those tests
only *compile*, they don't *link*.
brgds, H-P