From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69712 invoked by alias); 9 Nov 2017 18:41:24 -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 69698 invoked by uid 89); 9 Nov 2017 18:41:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=beauty, H*F:D*comcast.net, UD:comcast.net, Hx-languages-length:643 X-HELO: resqmta-po-09v.sys.comcast.net Received: from resqmta-po-09v.sys.comcast.net (HELO resqmta-po-09v.sys.comcast.net) (96.114.154.168) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 09 Nov 2017 18:41:23 +0000 Received: from resomta-po-09v.sys.comcast.net ([96.114.154.233]) by resqmta-po-09v.sys.comcast.net with ESMTP id CrlCeYuVhfNUWCrlRegheH; Thu, 09 Nov 2017 18:41:21 +0000 Received: from up.mrs.kithrup.com ([24.4.193.248]) by resomta-po-09v.sys.comcast.net with SMTP id CrlPeCznXelnrCrlQebQ6P; Thu, 09 Nov 2017 18:41:21 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH, GCC/testsuite] Fix retrieval of testname From: Mike Stump In-Reply-To: <526a4e38-510a-e7d8-b379-23a4f0c328f6@foss.arm.com> Date: Thu, 09 Nov 2017 19:04:00 -0000 Cc: Rainer Orth , "gcc-patches@gcc.gnu.org" Content-Transfer-Encoding: quoted-printable Message-Id: <9BAE1467-5F8F-4E0A-BDA1-B1E93D122E26@comcast.net> References: <526a4e38-510a-e7d8-b379-23a4f0c328f6@foss.arm.com> To: Thomas Preudhomme X-CMAE-Envelope: MS4wfLXSE5cZkznwFvbt+esiHfJSdNzFcoLL+JhtU5kBn9fwWZsIMjo+E6d3Q/k+oP2Q9WPfJJb9dzR0L4bCwDWgqjfD7z50xpVW5/nhNyIdpIjFG3SfmkYl XiTaMll6wSeyoM4NSVnwI57fB4yorqpPoXkxYGETa3TztPbsA3KkJBcN4LnJsqb1dpQwbWO3/5qfhmEBbkwIODhLFYpwBb4H1SE2JpvDPZuk0H8tBIZM1sAZ NmBwzcsjhw2io/jIJISKGSFPgNM4ndHFjrKOodXeyYo= X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00788.txt.bz2 On Nov 9, 2017, at 10:00 AM, Thomas Preudhomme wrote: >=20 > When gcc-dg-runtest is used to run a test the test is run several times > with different options. For clarity of the log, the test infrastructure > then append the options to the testname. This means that all the code > that must deal with the testcase itself (eg. removing the output files > after the test has run) needs to remove the option name. > Is this ok for trunk? Ok. Little scary the code is repeated so many time. If someone wants to r= efactor it some, I could see the beauty in that.