From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44401 invoked by alias); 23 Sep 2016 17:23:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 44388 invoked by uid 89); 23 Sep 2016 17:23:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=1647 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Sep 2016 17:23:06 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2809B80F6C for ; Fri, 23 Sep 2016 17:23:05 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-204-43.brq.redhat.com [10.40.204.43]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u8NHN3bk001329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 23 Sep 2016 13:23:04 -0400 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id u8NHN1xh013915; Fri, 23 Sep 2016 19:23:02 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id u8NHN1Zf013914; Fri, 23 Sep 2016 19:23:01 +0200 Date: Fri, 23 Sep 2016 17:25:00 -0000 From: Jakub Jelinek To: Jason Merrill Cc: gcc-patches@gcc.gnu.org Subject: [C++ PATCH] Pass RUNTESTFLAGS through from check-c++1z Message-ID: <20160923172301.GV7282@tucnak.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg01722.txt.bz2 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 * 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