This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How do I add target specific tests?
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Andy H <hutchinsonandy at aim dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 10 May 2008 16:09:03 -0300
- Subject: Re: How do I add target specific tests?
- References: <48259E54.4000408@aim.com>
On May 10, 2008, Andy H <hutchinsonandy@aim.com> wrote:
> These would be testcases for PR that fail related to AVR back end
> problems - rather than testcases for generic PR.
> Do I just add them to directory testsuite/gcc.target/avr? Or are there
> some other configuration steps needed?
You'll want to create a .exp file that exists right away if the target
is not what you want, and that runs the testing machinery otherwise.
Look for `istarget' in testsuite/gcc.target/*/*.exp for various
examples.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
FSFLA Board Member ÂSÃ Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}