This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [testsuite]
- From: qinfeng dot zhang at philips dot com
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Thu, 19 Jun 2003 19:42:10 +0800
- Subject: Re: [testsuite]
Thank you!
Now the new problem is:
although the the link is right, and the executable is running right with simulator.
But when using GCC testtools to test with "RUNTESTFLAGS=execute.exp", those files
still failed. I think the problem is the wrong way my using simulator.
In simulator, when program executed right, it return nothing . so wheter just the
exit status is not defined properly.
Regards /)/)
(-.-)
Qinfeng Zhang
To: Qinfeng Zhang/SHA/RESEARCH/PHILIPS@APAC
cc: gcc@gcc.gnu.org
<gcc-help@gcc.gnu.org>
Subject: Re: [testsuite]
Hans-Peter Nilsson
<hp@bitrange.com> Classification:
2003-06-19 18:49
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