This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Running parts of the testsuite


<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. Even after fixing that, the command does not succeed in running parts of the test suite: some failing mudflap tests are run (even though I passed --disable-mudflap to ./configure), and no other tests are attempted. This is on x86_64, Fedora 17.

Is there currently a way to run only parts of the test suite? If yes, what's the correct make command line?

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]