* [C++ PATCH] Pass RUNTESTFLAGS through from check-c++1z
@ 2016-09-23 17:25 Jakub Jelinek
2016-09-23 17:37 ` Jason Merrill
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2016-09-23 17:25 UTC (permalink / raw)
To: Jason Merrill; +Cc: gcc-patches
Hi!
I've been surprised that
make check-c++1z RUNTESTFLAGS=dg.exp=direct-enum*
attempts to run the whole testsuite in -std=c++1z mode,
while if I replace check-c++1z with check-g++ or check-c++-all,
it works properly.
The following patch passes the var down to the submake, so that it works
as expected. Ok for trunk?
2016-09-23 Jakub Jelinek <jakub@redhat.com>
* Make-lang.in (check-c++1z): Pass RUNTESTFLAGS down to
make check-g++.
--- gcc/cp/Make-lang.in.jj 2016-06-28 14:13:37.000000000 +0200
+++ gcc/cp/Make-lang.in 2016-09-23 19:16:54.382005180 +0200
@@ -164,7 +164,7 @@ check-c++ : check-g++
# Run the testsuite in C++1z mode.
check-c++1z:
- $(MAKE) GXX_TESTSUITE_STDS=1z check-g++
+ $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS)" GXX_TESTSUITE_STDS=1z check-g++
# Run the testsuite in all standard conformance levels.
check-c++-all:
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [C++ PATCH] Pass RUNTESTFLAGS through from check-c++1z
2016-09-23 17:25 [C++ PATCH] Pass RUNTESTFLAGS through from check-c++1z Jakub Jelinek
@ 2016-09-23 17:37 ` Jason Merrill
0 siblings, 0 replies; 2+ messages in thread
From: Jason Merrill @ 2016-09-23 17:37 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: gcc-patches List
OK.
On Fri, Sep 23, 2016 at 1:23 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> Hi!
>
> I've been surprised that
> make check-c++1z RUNTESTFLAGS=dg.exp=direct-enum*
> attempts to run the whole testsuite in -std=c++1z mode,
> while if I replace check-c++1z with check-g++ or check-c++-all,
> it works properly.
>
> The following patch passes the var down to the submake, so that it works
> as expected. Ok for trunk?
>
> 2016-09-23 Jakub Jelinek <jakub@redhat.com>
>
> * Make-lang.in (check-c++1z): Pass RUNTESTFLAGS down to
> make check-g++.
>
> --- gcc/cp/Make-lang.in.jj 2016-06-28 14:13:37.000000000 +0200
> +++ gcc/cp/Make-lang.in 2016-09-23 19:16:54.382005180 +0200
> @@ -164,7 +164,7 @@ check-c++ : check-g++
>
> # Run the testsuite in C++1z mode.
> check-c++1z:
> - $(MAKE) GXX_TESTSUITE_STDS=1z check-g++
> + $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS)" GXX_TESTSUITE_STDS=1z check-g++
>
> # Run the testsuite in all standard conformance levels.
> check-c++-all:
>
> Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-23 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-23 17:25 [C++ PATCH] Pass RUNTESTFLAGS through from check-c++1z Jakub Jelinek
2016-09-23 17:37 ` Jason Merrill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).