How to run the cpp(preprocessor) g++ tests?

Segher Boessenkool segher@kernel.crashing.org
Thu Oct 15 21:10:00 GMT 2015


On Thu, Oct 15, 2015 at 05:47:05PM -0300, Andres Tiraboschi wrote:
> Hi, I've been working a bit with the gcc preprocessor but don't know
> exactly how to run just the cpp tests for g++(the tests located in the
> gccSource/gcc/testsuite/g++.dg/cpp/) without running all the
> testsuite.
> I couldn't find anything about it in the documentation.

make -k check-gcc-g++ RUNTESTFLAGS=g++.dg='cpp/*'

It also does c-c++-common/cpp/* but you might actually want that?
And it's fast anyway.


Segher



More information about the Gcc-help mailing list