Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4283011pxb; Mon, 8 Feb 2021 12:21:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVh1GOmkTXDrgiPVNqvdFr/f4cm1RkDWSTQfUgSXd08lwWvUeW9+O56p7SPlTLDN+NqtA4 X-Received: by 2002:a50:e882:: with SMTP id f2mr19020926edn.35.1612815716205; Mon, 08 Feb 2021 12:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612815716; cv=none; d=google.com; s=arc-20160816; b=VEVvzNLHU9wkHFePgGUGgQoIxzw7RcM45X/+LRNSInG07W0NSLJAElwXBBVy+hbpg9 Itce9HhxeXnEdUxQzqhoAUiGg0/INEp4xbrti8bZiPYrh7l/z0iJLAT7SItu4jaIDA2x f7hc1e3YGLDEUIJF8bsghJeffv/4PFzmvJqtGVxcIQjMDHiCjks7UBqUQn70YOR5kRpf t+WJNAmIP3QNhVM0biTDg/4XF7WqkIKyS/G7aee+dwkXZTPlpmVFSzfugeZk8ZZzhcQN NzL9Ph8N9Zb2soe3z5Lj+ydZRghq5SpiljPSoZMl9pqfA+vGORBAxkEaISsbeDYy3Hv2 EHVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=qEpFRJ4PlevumLlf2VLKCFT28k/4UaTOkUzDF1cwLJU=; b=bM0HKXPDq3klaIQTD+6HYUiB0RVgmt2dgHAKbb+F8iwzC54GaI3RU8ymcQQda/Bv2T vrMpDrDtAW/o24dtdS56uSiZ1SAHJ86dlUZqirIrE21q97Lv6GGx1UQm+Z5PkeHZhpzU vmTPv5xX/6vRgOApUAWatuGYrdQIuXzbpBncKHGgkoe4QDo0e46zPxUCUOd1yCyoIlrV Yp2lonXGEUNiUNf67K4ZsQhUgeyjktpBtpn02vhSgBuWl5eX6B85LUGqXiW1Px1iMY0h s+0DJ1XkkKaMB46lWO3SpBGaa3oYQmvkU+no3LyE0TXxn5nl6tPuJfEpbKF2mgIleZGS iDpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FBM4S1y2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j12si11559420ejt.34.2021.02.08.12.21.32; Mon, 08 Feb 2021 12:21:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FBM4S1y2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234863AbhBHUS0 (ORCPT + 99 others); Mon, 8 Feb 2021 15:18:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233373AbhBHSye (ORCPT ); Mon, 8 Feb 2021 13:54:34 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50E89C06178A for ; Mon, 8 Feb 2021 10:53:54 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id j5so2023608pgb.11 for ; Mon, 08 Feb 2021 10:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qEpFRJ4PlevumLlf2VLKCFT28k/4UaTOkUzDF1cwLJU=; b=FBM4S1y2yuAqEbUGuv8z+KUXYA1QWNF6PLzh53subvR45JrIq8JwVxHYRVvmJY/Uo6 fETZkDFEB6Zg7ktCV1nKgSFlzqFU701SxZ1wEucCf/Z7XrTpS3lXVFSHb/hYekBCPxPr BUIOKtWTICJO2oCkhaWSCcyQ7UDaCE1nF0qRbn+BFXdgiYqMleSiCLtM19Fc/HCTldu9 t/OL2/cltUDatq8Cd/SzfPLEPwvH5qpbEmtrcm1Vx33Ku6AdWNIjCNGPA+CQb+kwgEPq w8BIuwzB2zPJc3F90WIhwJDJ9OOCtMLPsRslcr71d3gvSqP8VdTIUG6MvojY7SQGSL5h dRvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qEpFRJ4PlevumLlf2VLKCFT28k/4UaTOkUzDF1cwLJU=; b=eW9u+uVyZFa3Kak0iAkcfoT9imq8T2yF2pbSUXAqlBRVdVOFr8qZRV51MyWSQeTMRU 1UznEVOnmDPub3LktAGGt+BdAzI6kHi/umyDhvO2uwqhtBqBxlT63NDElhJUIniCukYK W1hei1DNrwiHITeEolnrG9wSJseacdCCyhBTUrq6b4I5pKZdCMJHc1x2+Tss9ZASSOu6 taAGmYvImdAZw9jQ8vMeG191dEx/6g9IeFL5O2/2P6vkVH1aUOt9kmoDQBtWuylTgMM8 OqRMfBlDA2s3jWXNJIObkoIJ1ULWUlcJZ7miqsCg3oYWNzgg5xBMUzalhNYrvQ4aKQXv vr9w== X-Gm-Message-State: AOAM5320coeK19/CQnrB/c7y4Om+XJ1o37HLWwmw6J1SDQqV/LHwtC3+ eeCEJqO4NwLrcK+nTELRqe1ylM2KwnFUo5kcC77G2g== X-Received: by 2002:a65:4184:: with SMTP id a4mr18800831pgq.384.1612810433706; Mon, 08 Feb 2021 10:53:53 -0800 (PST) MIME-Version: 1.0 References: <20210206000854.2037923-1-dlatypov@google.com> In-Reply-To: <20210206000854.2037923-1-dlatypov@google.com> From: Brendan Higgins Date: Mon, 8 Feb 2021 10:53:42 -0800 Message-ID: Subject: Re: [PATCH v4 0/3] kunit: support running subsets of test suites from kunit.py To: Daniel Latypov Cc: David Gow , Linux Kernel Mailing List , KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , Shuah Khan Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 5, 2021 at 4:09 PM Daniel Latypov wrote: > > When using `kunit.py run` to run tests, users must populate a > `kunitconfig` file to select the options the tests are hidden behind and > all their dependencies. > > The patch [1] to allow specifying a path to kunitconfig promises to make > this nicer as we can have checked in files corresponding to different > sets of tests. > > But it's still annoying > 1) when trying to run a subet of tests > 2) when you want to run tests that don't have such a pre-existing > kunitconfig and selecting all the necessary options is tricky. > > This patch series aims to alleviate both: > 1) `kunit.py run 'my-suite-*'` > I.e. use my current kunitconfig, but just run suites that match this glob > 2) `kunit.py run --alltests 'my-suite-*'` > I.e. use allyesconfig so I don't have to worry about writing a > kunitconfig at all. > > See the first commit message for more details and discussion about > future work. > > This patch series also includes a bugfix for a latent bug that can't be > triggered right now but has worse consequences as a result of the > changes needed to plumb in this suite name glob. > > [1] https://lore.kernel.org/linux-kselftest/20210201205514.3943096-1-dlatypov@google.com/ Tested-by: Brendan Higgins