From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by gnuweeb.org (Postfix) with ESMTPS id 293207E312 for ; Sun, 3 Apr 2022 16:44:00 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=cbY+h59R; dkim-atps=neutral Received: by mail-pf1-f173.google.com with SMTP id y10so6850165pfa.7 for ; Sun, 03 Apr 2022 09:44:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=UvSzyLO8zDeuh863Jx4rLCZqB4RFbYGzsOO7jv+cNZo=; b=cbY+h59RrFYJNEVtShgdDsC8uz0TJJ3dQ2Ig3HyEUEAMNF2VZHXR5Qom08FcgzKXup g8kGEXYm8bWKRh4n/QjXBL25OYZlwxDb9reWlkYZRzUXrffTZ9p2zm1u7rEqx/YIbpwR qDr3vCQfBnClU45YiGS8ZvFN60HYVSCIsKdq8JInh4DNkQE7kGeFph2TUBdzDsWOjLP1 X6jPcyY4+jO4CrYAqF/z2S0bfP+mA5bMVabyRKb9Ch65qjytDzzYvk8u2Q5AFzWCGgHm LYIH46OyVEhDLCQa6L+JXGN51g2c3zTiU0bFoor/6jsa/E6XviPrCydHmk0iRmPXXnBy ++hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=UvSzyLO8zDeuh863Jx4rLCZqB4RFbYGzsOO7jv+cNZo=; b=ja2rdgwqCMYAezlG4Ypb0UDb1BDfbz1K/jmsHq/e8XLDhddLtlaMBo5fqRINwsLD0g btL5UwWs1SUd13tgpaKWfX6gkFwpmO3mzjVjDh1730EOPKp25W/bPmb/WzMagv7fybB5 vnTR1UrJOynjs0n0CsPUrvutAIuZYsGrc63C8sPK7CNZUxnDVxi8cvGbxJPznyfEywEm j+sWamdjwsHzsvdICF+S4VDfK7mYjfECE0Uy55wYFvnlKhv/I7jnKAyKHJWTgPZvpZ3/ RHv8mx8KfRBgk4mOoxdoaPilPk9ulvJQhWP0pB5uiiPS7OIWbu/I4HmLNfDFXtvH0z2N EnQA== X-Gm-Message-State: AOAM531QTR16DmdXmdEDeVbQnbJbtvezMVuH2R5Uo03shB45vPAngVkb kAvquXM43hNoN3GkDaP8N9FAsQ== X-Google-Smtp-Source: ABdhPJz7pt6I7DTTDahwqlNLan1QFoCT26hkg91YC3qGHFKby70AUuORGCdM5cVy2+QRur6KALfIhQ== X-Received: by 2002:a63:5756:0:b0:36c:67bc:7f3f with SMTP id h22-20020a635756000000b0036c67bc7f3fmr22988833pgm.389.1649004239434; Sun, 03 Apr 2022 09:43:59 -0700 (PDT) Received: from [192.168.1.100] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id k14-20020aa7820e000000b004f7134a70cdsm9051350pfi.61.2022.04.03.09.43.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Apr 2022 09:43:58 -0700 (PDT) Message-ID: <771eab67-74ba-710e-854a-975a779a9ced@kernel.dk> Date: Sun, 3 Apr 2022 10:43:57 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH liburing 2/2] test/Makefile: Append `.test` to the test binary filename Content-Language: en-US To: Ammar Faizi Cc: io-uring Mailing List , GNU/Weeb Mailing List References: <20220403153849.176502-1-ammarfaizi2@gnuweeb.org> <20220403153849.176502-3-ammarfaizi2@gnuweeb.org> From: Jens Axboe In-Reply-To: <20220403153849.176502-3-ammarfaizi2@gnuweeb.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: On 4/3/22 9:38 AM, Ammar Faizi wrote: > When adding a new test, we often forget to add the new test binary to > `.gitignore`. Append `.test` to the test binary filename, this way we > can use a wildcard matching "test/*.test" in `.gitignore` to ignore all > test binary files. > > Goals: > - Make the .gitignore simpler. > - Avoid the burden of adding a new test to .gitignore. Just a cosmetic issue, but the .test does bother me a bit. Probably just because we aren't used to it. Maybe let's just call them .t? And we should probably rename the foo-test.c cases to just foo.c as a prep patch too. -- Jens Axboe