On 06/11/2012 04:34 PM, Eric Botcazou wrote:
<http://gcc.gnu.org/install/test.html>  says:

----------------------------------------------------------------------

Likewise, in order to run only the g++ “old-deja” tests in the testsuite
with filenames matching `9805*', you would use

       make check-g++ RUNTESTFLAGS="old-deja.exp=9805* other-options"

The *.exp files are located in the testsuite directories of the GCC
source, the most important ones being compile.exp, execute.exp, dg.exp
and old-deja.exp. To get a list of the possible *.exp files, pipe the
output of `make check' into a file and look at the `Running ... .exp'
lines.

----------------------------------------------------------------------

The target is called "check-c++" these days.

At toplevel, but not if you are in the gcc/ subdir, as is implicit above.

This wasn't clear to me, thanks.  After some fiddling, I figured out that

   make check-g++ RUNTESTFLAGS="dg.exp=vla*.C"

did the trick for me (that is, no path in the .exp file and the glob pattern).

--
Florian Weimer / Red Hat Product Security Team

Reply via email to