This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.
- From: Ville Voutilainen <ville dot voutilainen at gmail dot com>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: Jason Merrill <jason at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 14 Sep 2014 21:51:46 +0300
- Subject: Re: [C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.
- Authentication-results: sourceware.org; auth=none
- References: <CAFk2RUYrrjZNGS9E8b+CwgDeEC56nfDqCpTKH0wiiaQ8qXiSXA at mail dot gmail dot com> <5415E039 dot 6080507 at oracle dot com>
On 14 September 2014 21:36, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Hi,
>
> On 09/14/2014 07:44 PM, Ville Voutilainen wrote:
>>
>> Tested on Linux-x64.
>
> Thanks. In such cases you can as well remove the main: then is also
> immediately obvious the the testcase is a dg-do compile.
Sure, but sometimes I use such test snippets as starting points for something
more elaborate that gets actually run, it saves time having a main already there
even if the test itself doesn't use it. ;)