This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, GCC/testsuite] Fix retrieval of testname
- From: Mike Stump <mikestump at comcast dot net>
- To: Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 9 Nov 2017 10:41:18 -0800
- Subject: Re: [PATCH, GCC/testsuite] Fix retrieval of testname
- Authentication-results: sourceware.org; auth=none
- References: <526a4e38-510a-e7d8-b379-23a4f0c328f6@foss.arm.com>
On Nov 9, 2017, at 10:00 AM, Thomas Preudhomme <thomas.preudhomme@foss.arm.com> wrote:
>
> 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 refactor it some, I could see the beauty in that.