This is the mail archive of the gcc-patches@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]

Re: C++ PATCHes to run testsuite in C++14 mode


On 03/24/2014 05:06 PM, Fabien Chêne wrote:
2014-03-07 22:43 GMT+01:00 Jason Merrill <jason@redhat.com>:
The first patch changes the C++ testsuite to run in C++14 mode as well as
C++98 and C++11.

As a result, specifying { target c++11 } matches c++11 and c++1y mode.
{ target c++1y } matches c++1y only, and { target c++98 } matches c++98 only.
Is that correct ?

Everything is intended to mean "C++XX and up" now. But c++98 isn't defined, since it would be meaningless. And so it isn't used in tests either. So for c++98 only you can use c++98_only or { ! c++11 }.

The second patch splits up the running of dg.exp to avoid it running longer
than libstdc++ in parallel testing.

Incidentally, how does it affect testing time ?

On a highly parallel system, it doesn't affect testing time because one of the chunks of libstdc++ tests still takes longer than any of the chunks of g++ tests.

Jason


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