On Wed, Sep 29, 2021 at 11:14:55AM -0300, Raphael M Zinsly wrote: > On 28/09/2021 16:50, Segher Boessenkool wrote: > >>+/* { dg-do run { target { powerpc*-*-linux* } } } */ > > > >Don't say such targets in gcc.target/powerpc/ tests please. Everything > >in gcc.target is for powerpc*-*-* already, so if you really want to > >limit to powerpc*-*-linux* just write *-*-linux*. But there are better > >ways to get what you want, like, testing for the actual feature you want > >(which is if backtrace() works?) But such an improvement can be done > >later (and needs more testing etc). > > Ok, I'll change to *-*-linux*. > I used powerpc*-*-linux* because most of the tests in this directory do > that way.
Yes, that is the problem with cut-and-paste. The dejagnu directives are not magic incantations, they have a pretty clear meaning (and are documented even). Maybe we need a cookbook though :-) Segher