|
| | Subject: | Re: How do I add target specific tests? | | Group: | Gcc | | From: | Alexandre Oliva | | Date: | 10 May 2008 |
On May 10, 2008, Andy H <hutchinsonandy> 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, gnu.org}
FSFLA Board Member ¡Sé Libre! => http://www.fsfla.org/
Red Hat Compiler Engineer aoliva, gcc.gnu.org}
|