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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 16, 2015 at 09:43:49AM -0300, Andres Tiraboschi wrote:
> 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.

> 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++'.

That is strange, below it says you are testing GCC 5, and that supports those
targets just fine AFAICS.  Are you running this from the (top-level) build
directory?

Oh!  Bah.  I meant "check-gcc-c++".  Sorry!

> 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/*"

I have no idea where that is coming from.  Something in libatomic it seems.
"check-gcc" only tests the compiler, so that will avoid those dirs.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux