From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.6 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E479C433E0 for ; Sat, 27 Feb 2021 07:47:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 11E4664E86 for ; Sat, 27 Feb 2021 07:47:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230014AbhB0Hrc (ORCPT ); Sat, 27 Feb 2021 02:47:32 -0500 Received: from [93.83.142.38] ([93.83.142.38]:38298 "EHLO localhost" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229795AbhB0Hrb (ORCPT ); Sat, 27 Feb 2021 02:47:31 -0500 Received: from [IPv6:::1] (localhost [IPv6:::1]) by localhost (Postfix) with ESMTP id 700762E471; Sat, 27 Feb 2021 08:47:09 +0100 (CET) Subject: Re: [PATCH v3 00/35] 20210215154427.32693-1-avarab@gmail.com To: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= , git@vger.kernel.org Cc: Junio C Hamano , Jeff King , Jonathan Nieder , Philippe Blain , Adam Spiers , Eric Sunshine , Chris Torek References: <20210215154427.32693-1-avarab@gmail.com> <20210224195129.4004-1-avarab@gmail.com> From: Johannes Sixt Message-ID: Date: Sat, 27 Feb 2021 08:47:09 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210224195129.4004-1-avarab@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Am 24.02.21 um 20:50 schrieb Ævar Arnfjörð Bjarmason: > Addresses feedback on v2. Since Junio & Johannes expressed a desire to > keep the existing test scheme in t4018/* it's still there, but it's > also possible to add *.sh tests in that directory to use the more > familiar test framework used elsewhere in the test suite. > > The tests added here make use of it to e.g. supply custom -U > arguments, set config before the tests etc. > > I also improved that existing test support so you can have N tests in > one file with (mostly) the existing test syntax. See the "userdiff > tests: add a test with multiple tests in a LANG file" patch. I've read through all patches and had a comment here and there. I like a lot that we can now put more than one test into a single file. However, I do not like the shell script version of tests, because the syntax is so hard to read. Also, it looks to me that they are only needed for a few tests that could just as well be coded as one-off tests outside the framework. I've now pulled avar/t4018-diff-hunk-header-regex-tests-3 from your github repo and will check again if I missed some cruicial points. -- Hannes