From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84026 invoked by alias); 10 Apr 2015 20:00:56 -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 83949 invoked by uid 89); 10 Apr 2015 20:00:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 10 Apr 2015 20:00:54 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t3AK0qlh028338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 10 Apr 2015 16:00:53 -0400 Received: from localhost (ovpn-116-37.ams2.redhat.com [10.36.116.37]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t3AK0pQc028590; Fri, 10 Apr 2015 16:00:52 -0400 Date: Fri, 10 Apr 2015 20:00:00 -0000 From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [patch] Improve docs on running libstdc++ tests Message-ID: <20150410200051.GZ9755@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="enQ4buem96rqs4uP" Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-04/txt/msg00468.txt.bz2 --enQ4buem96rqs4uP Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-length: 117 This came up on IRC today. Editing testsuite_files isn't the only way to run a subset of tests. Committed to trunk. --enQ4buem96rqs4uP Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="patch.txt" Content-length: 1772 commit 97f1afff492953efa83e07fdbf66af2b77a5ee89 Author: Jonathan Wakely Date: Fri Apr 10 20:58:54 2015 +0100 * doc/xml/manual/test.xml: Improve documentation on running a subset of tests. * doc/html/manual/test.html: Regenerate. diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml index d3d2264..456c48b 100644 --- a/libstdc++-v3/doc/xml/manual/test.xml +++ b/libstdc++-v3/doc/xml/manual/test.xml @@ -279,12 +279,26 @@ make check-target-libstdc++-v3 RUNTESTFLAGS="-v -v" - To run a subset of the library tests, you will need to generate - the testsuite_files file by running + To run a subset of the library tests, you can either generate the + testsuite_files file (described below) by running make testsuite_files in the - libbuilddir/testsuite directory, described - below. Edit the file to remove the tests you don't want and - then run the testsuite as normal. + libbuilddir/testsuite directory, then edit the + file to remove the tests you don't want and then run the testsuite as + normal, or you can specify a testsuite and a subset of tests in the + RUNTESTFLAGS variable. + + + + For example, to run only the tests for containers you could use: + + + +make check-target-libstdc++-v3 RUNTESTFLAGS="conformance.exp=23_containers/*" + + + + When combining this with other options in RUNTESTFLAGS the + testsuite.exp=testfiles options must come first. --enQ4buem96rqs4uP--