On Fri, Mar 06, 2026 at 11:06:32AM +0000, Jonathan Wakely wrote:
> On Fri, 6 Mar 2026 at 10:49, Nathan Myers <[email protected]> wrote:
> >
> > [This is untested. How do I find g++.old-deja/g++.martin/bitset1.C ?]
>
> With /usr/bin/find :-)
>
> For the compiler tests the general rule is to find the test under
> gcc/testsuite then locate the .exp file that runs it, which will be
> first .exp file you find if you look in . then .. then ../.. etc.
> So for gcc/testsuite/g++.old-deja/g++.martin/bitset1.C that's
> gcc/testsuite/g++.old-deja/old-deja.exp
>
> So then you use RUNTESTFLAGS=old-deja.exp=bitset1.C
>
> The 'make check-g++' target limits it to the C++ tests, but 'make
> check' works too (just slower).
Just note that make check-g++ defaults to testing c++98, c++20 and c++26
(except for tests which require some particular C++ version, in that
case it can slightly differ). So, the c++11 FAILs don't appear unless
one tests all.
There is also make check-c++-all (but that for some reason misses c++26;
will post a patch for that).
Jakub