This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I add target specific tests?


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}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]