testsuite layout conventions

Alan Modra amodra@gmail.com
Wed Jan 6 10:49:25 GMT 2021


On Wed, Jan 06, 2021 at 09:33:24AM +0100, Andreas Schwab wrote:
> On Jan 06 2021, Mike Frysinger via Binutils wrote:
> 
> > the odd thing is that it seems most projects don't actually set
> > tool in their site.exp.  libstdc++, gdb, and sim do.  so i guess
> > either the others ones used to, or they just adopted a similar
> > naming convention at some point because others were ?
> 
> It can also be set on the command line.  This is used by automake.

Yes, we use that in binutils, gas and ld.  I once tried to flatten out
the gas testsuite heirarchy, removing --tool from the runtest
invocation.  That ran into trouble with gas-dg.exp I think it was,
with -dg-test being called instead of gas-dg-test.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list