On Thu, 24 Jul 2014, Jakub Jelinek wrote: > On Wed, Jul 23, 2014 at 04:52:23PM -0700, Andrew Pinski wrote: > > > Comments, objections? Ok to apply the preliminary patch? > > > > Yes, what if you don't move the tests but just change how the .exp to > > use the same infrastructure as gcc.dg/torture instead? > > Yeah. I believe gcc.c-torture/compile/ has been converted already, > so it is just about gcc.c-torture/execute/. Each of these tests has > it's own default idioms, e.g. -w in by default in gcc.c-torture/. > So, please just tweak execute.exp, so that it does what it did until now > (perhaps with the exception of *.x files support) in dg framework, and > convert *.exp files into dg-* directives in the testcases.
And note that this is bug 20567. Existing dg-* directive uses in gcc.c-torture/execute/ (which are currently ignored) may or may not be correct, so they should be reviewed as part of such a migration to decide whether they should stay or be removed. (There aren't that many of them to review.) -- Joseph S. Myers jos...@codesourcery.com