This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: h8300-elf: gcc testsuite patches
- To: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: h8300-elf: gcc testsuite patches
- From: law at redhat dot com
- Date: Fri, 31 Aug 2001 10:49:31 -0600
- cc: gcc-patches at gcc dot gnu dot org, jason at cygnus dot com, amylaar at cambridge dot redhat dot com
- Reply-To: law at redhat dot com
In message <200108311228.f7VCSK018822@phal.cambridge.redhat.com>you write:
> > It's the same target. You have to look at the compiler options used;
> > specifically -mh and -ms.
>
> I'm curently looking into changing baseboards/h8300-sim.exp to set
> appropriate information; can I assume that the -mh / -ms tests are
> run with
> check-gcc RUNTESTFLAGS='--target_board=h8300-sim/-mh'
> and
> check-gcc RUNTESTFLAGS='--target_board=h8300-sim/-ms'
> , respectively?
I usually use something like this in my site.exp file:
{ "h8300-*elf" } {
set target_list { "h8300-sim{-mno-h,-mh,-ms,-mh -mint32, -ms -mint32}"
} }
As for testing for specific flags in the gcc testsuite. I think you can
do something similar to this:
if { [istarget "d10v-*-*"] && ! [string-match "*-mint32*" $CFLAGS] }
[ ... ]
jeff