Re: testsuite layout conventions

Alan Modra via Binutils <[email protected]>
Newsgroups gmane.comp.gnu.binutils,gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.