2015-10-15 18:10 GMT-03:00 Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx>: > 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 Thanks, but when I try with: make -k check-gcc-g++ RUNTESTFLAGS=g++.dg='cpp/*' I have the the following error: make: *** No rule to make target `check-gcc-g++'. I tried running: make -k check RUNTESTFLAGS=g++.dg='cpp/*' but I couldn't get the summary from those test and I had this kind of errors: ----------------------------------------------------------------------------- Illegal Argument "g++.dg=cpp/*" . . . make[2]: *** [check-recursive] Error 1 make[2]: Target `check' not remade because of errors. make[2]: Leaving directory `/home/andres-tiraboschi/Desktop/gcc/build-5.2.0/x86_64-unknown-linux-gnu/libatomic' make[1]: *** [check-target-libatomic] Error 2 make[1]: Target `check-target' not remade because of errors. make[1]: Leaving directory `/home/andres-tiraboschi/Desktop/gcc/build-5.2.0' make: *** [do-check] Error 2 make: Target `check' not remade because of errors. ----------------------------------------------------------------------------- Also tried: make -C gcc check-g++ RUNTESTFLAGS=g++.dg='cpp/*' but I have the same: Illegal Argument "g++.dg=cpp/*" Maybe you have a clue about what I'm doing wrong. Thanks, Andrés.