From 36bc8a209f87f38eab75312bb48720e166136379 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 13 Jul 2011 20:30:54 +0000 Subject: Also test -std=c++0x mode with 'make check-c++' at top level * Makefile.in (check-gcc-c++0x): New. (check-c++): Depend on it. gcc/ * Makefile.in ($(lang_checks_parallelized)): Allow --tool_opts. gcc/cp/ * Make-lang.in (check-c++0x): New. gcc/testsuite/ * lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Remove. * lib/lto.exp (lto_prune_warns): Prune warning about -std=c++0x when compiling C files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176250 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/Make-lang.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/cp/Make-lang.in') diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 1b53b3875dd..b9251a44099 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -149,6 +149,10 @@ c++.srcman: doc/g++.1 # check targets. However, our DejaGNU framework requires 'check-g++' as its # entry point. We feed the former to the latter here. check-c++ : check-g++ +# Run the testsute in C++0x mode. +check-c++0x: + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) --tool_opts=-std=gnu++0x" \ + TESTSUITEDIR="$(TESTSUITEDIR).c++0x" check-g++ check-c++-subtargets : check-g++-subtargets # List of targets that can use the generic check- rule and its // variant. lang_checks += check-g++ -- cgit v1.2.1