Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1694658pxj; Wed, 19 May 2021 11:39:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3To/6i2dDMSkVSex5gJAuVhVbpSJPQX+lE3PHp4bRZZWMhmF9ngy3/v3w35E5yaEQ0QQQ X-Received: by 2002:aa7:c24d:: with SMTP id y13mr433797edo.155.1621449540990; Wed, 19 May 2021 11:39:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621449540; cv=none; d=google.com; s=arc-20160816; b=bQF3pNnqldaP+x0pI/rCRIf0f5P1xewGpKDajboUYHVRpoULw1fqJsP7an1NqNhPdl 7jTZCMN4E1z0MEA2JkNz1xREDW/yq+jtnbvMFuuozSsFljRsnEd6mlZtruxiiJoR01qF 5r3K7+BXxgln6IHVxjKR8bXnWHhA8ZBolEwfEeQX2MQ49JQcwNxq/xRRc5aiGRrD9Jzz QQn0509FquDod/LzJWxcY0kZw5cFL/pJYKmCbVATgELFgpnVaohMC48dVZXFrsDERYh1 eaXlhEdLXNyHBea9yPNAlhnFQd7x66M8gxwwnYmPa7Sl5tDU2EUe03L/lVBdhVpXOs+a pAzw== 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=C43/i5T89+Z7YHAazX11QPS1qt3iN5sh35aKnQ1xBXc=; b=Sl9B1FdFwP9M3JJmWlTrFxv1APtjdRITDtFYhKrrFhYQqvg7cv/VAwqfISGuDmWhP6 1pHlK8ijh8UTmixc3i1NIc+IYyPTp3F+cvCmvkkj3EXqXLI9GMPebpHC6+35eJ5e7i1C Wucz+o2KsHmW3OsnSrMnvdfgdgAO6Y+WLlSL/C0R3oySMMwzoQQOij+7yI5/gI6VfVkP a19wt1ZHV7RChtN90IThrsY8NhJj3H7ScOp5eslxz+eagyaeNeK9G9Ei5sFPEarsaD2N jO6zkP537FqEdbodDfu/GhyXrrOWSri+pUyaoKw8iEzhloFMU2zGym2xlyauql75RH3f 3z2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=L3SbeGKH; 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 m21si384592ejo.633.2021.05.19.11.38.36; Wed, 19 May 2021 11:39:00 -0700 (PDT) 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=L3SbeGKH; 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 S236293AbhERVQf (ORCPT + 99 others); Tue, 18 May 2021 17:16:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235250AbhERVQf (ORCPT ); Tue, 18 May 2021 17:16:35 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B689C061573 for ; Tue, 18 May 2021 14:15:17 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id i6so992345plt.4 for ; Tue, 18 May 2021 14:15:17 -0700 (PDT) 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=C43/i5T89+Z7YHAazX11QPS1qt3iN5sh35aKnQ1xBXc=; b=L3SbeGKHfRXdqFWSY/DjtKEhkdISuPfaf1/glYzvtU6a0s3YUDaXW/V2vSONOb9az5 ar6USRpYYzyUHUvBCVpIXy01hUckq3toF9CEzNTqevyNlVn0oaKwy04ztEZY9s9KVohr c+L2SCmGjU987rGITNpj8OFctyth8m4DBrzM3AjVvqKnRJPj2ePJv+ZquXgm75JlYm4s xYwZ0mmw3xwdp9IRqnb/g9tzuw3sTUp3KaPMDh8Yr02zbRwiXCDLS4ztVL9K85hvh+b5 sgBK4fQ1EYBraCdirQ1/Cag9AIQBaI4q1QZ3yzlJnPRibfQ1zVbGu/aRSkArBtdmT2v4 xsWw== 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=C43/i5T89+Z7YHAazX11QPS1qt3iN5sh35aKnQ1xBXc=; b=Am5rCyexYEMUWVD6+TIhyw8405XVFLcT5ECa8LGMTxZN24hm8L+6DSUic/0yAhWVvD ZgRfZ1/zoWgCr7l6CJP5L8n212qz4SpSVEI4OBXyM+zW3TuOHFfJOieOwzDSmf3jDjXa UuK9jhgyp59bZNINBWUVkiQMPKV5rlFMMODfe8IBEwZWeYRWjaXpkBSZWvN9xPxVcxeV 1/wH0t3HXvMGd4cBnu1TUEIsMelE7IDlkMyl/GyMnsinUeuBLCITVWL5M5BbAC646D1c IE/kibPFvevDaaULKGzfG6S6/foVtTQfYceU1ULr9dBSVZZO8yyMWNA3SLfmcIWh2SS8 Fvdg== X-Gm-Message-State: AOAM530kXUP/xYoEEwdC3GMNcL2hv2PT6jl3UwrW7jnIg6u96Gxr+07u IJlTxaoM/h0lfIRrqgWJjMDNI0XOOuCxbUvJLjlQPA== X-Received: by 2002:a17:90a:7306:: with SMTP id m6mr7191995pjk.217.1621372516465; Tue, 18 May 2021 14:15:16 -0700 (PDT) MIME-Version: 1.0 References: <20210518035825.1885357-1-davidgow@google.com> In-Reply-To: <20210518035825.1885357-1-davidgow@google.com> From: Brendan Higgins Date: Tue, 18 May 2021 14:15:05 -0700 Message-ID: Subject: Re: [PATCH] kunit: arch/um/configs: Enable KUNIT_ALL_TESTS by default To: David Gow Cc: Shuah Khan , Jeff Dike , Richard Weinberger , KUnit Development , "open list:KERNEL SELFTEST FRAMEWORK" , linux-um , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 8:58 PM David Gow wrote: > > Make the default .kunitconfig (specified in > arch/um/configs/kunit_defconfig) specify CONFIG_KUNIT_ALL_TESTS by > default. KUNIT_ALL_TESTS runs all tests which have satisfied > dependencies in the current .config (which would be the architecture > defconfig). > > Currently, the default .kunitconfig enables only the example tests and > KUnit's own tests. While this does provide a good example of what a > .kunitconfig for running a few individual tests should look like, it > does mean that kunit_tool runs a pretty paltry collection of tests by > default. > > A default run of ./tools/testing/kunit/kunit.py run now runs 70 tests > instead of 14. > > Signed-off-by: David Gow I am totally on board with what you want to do here, but I have one minor issue below. Reviewed-by: Brendan Higgins > --- > arch/um/configs/kunit_defconfig | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/um/configs/kunit_defconfig b/arch/um/configs/kunit_defconfig > index 9235b7d42d38..becf3432a375 100644 > --- a/arch/um/configs/kunit_defconfig > +++ b/arch/um/configs/kunit_defconfig Could we also apply this to tools/testing/kunit/configs/all_tests.config ? The contents of the file are identical, and I think are supposed to be for the same purpose. > @@ -1,3 +1,2 @@ > CONFIG_KUNIT=y > -CONFIG_KUNIT_TEST=y > -CONFIG_KUNIT_EXAMPLE_TEST=y > +CONFIG_KUNIT_ALL_TESTS=y > -- > 2.31.1.751.gd2f1c929bd-goog >