Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp371563ybj; Wed, 6 May 2020 20:26:29 -0700 (PDT) X-Google-Smtp-Source: APiQypJwqgXskbRNRi9m5+eh6dGMs0uCGnuLAdRnYrcr1YlhdKfiMeBCUpCPR/50ti4A1lFaKoPh X-Received: by 2002:a17:906:1dce:: with SMTP id v14mr10464296ejh.244.1588821989264; Wed, 06 May 2020 20:26:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588821989; cv=none; d=google.com; s=arc-20160816; b=D0TeMDQ03BkvEmJJCWEnknM0xgjJ4zxzlp8pRlGEabOGeG/XcuXidR+98irZOH2BX7 IBocBEUGQtwJfoXMW+pXqPSPHI4Axjsajpct+8GwOTJid9bZ1PM+s09I2ChybPHooBGE DRCQ2GJe+2E60YgdMKKLQ9VBLo8gbYUTL34nwESPW6rkTZBdF9dKb67IZcilIEIWPSCq rAIvjVbXQrHqwPsIxsU1RRQE+yGZsQQ4R1EIlQHG6A6+Ds7MOFoJA6yfQelrTnmFWukI nlN1GctKOh6lfKfP2e2VctHBAyPPl8iZXVUjyp1K5A1QDKiztiG7C3VqunmsXt96hNqH dSyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/M4/DuBTGflvVuChw5Y25GaHL26QwHucGpDopq+uKKM=; b=yCsTd8X66hPMbPj5Vrs0rK94qe29xhHrhV+XVnY1MZ97YLsgouFdZ0K6fq3sd1+9DB j+lv8Xj3bK3DiTfeo60nk7WJygJGZrAVjfgTHWEZ/RYC1yf/7pQ4SfhAl3+5CyZXI86y 7xABNqAr2sNcA+XQ8CNP+KR3195jQoR8uNy9yk/Rrl3/HJ2ZSegqyxzSKfr59tzQsfqz mbpivuYoL8kMgRKcCKA+WvqYzZ6uZvaqkHmGBd/cc/JbDWoa4mdTMPVi4nAH0WFvkd+O 13zu1fR9adfMsVX8rUz8Am/q8TNl9N4Ft6pKOV7mKG5MFpyRDnlKpeGcy5GwDsyLOUr+ HGXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=EDZcbDkr; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 cy5si2209864edb.327.2020.05.06.20.26.06; Wed, 06 May 2020 20:26:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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=EDZcbDkr; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-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 S1728718AbgEGDL0 (ORCPT + 99 others); Wed, 6 May 2020 23:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728666AbgEGDLY (ORCPT ); Wed, 6 May 2020 23:11:24 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31B45C0610D5 for ; Wed, 6 May 2020 20:11:23 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id e16so4509285wra.7 for ; Wed, 06 May 2020 20:11:23 -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=/M4/DuBTGflvVuChw5Y25GaHL26QwHucGpDopq+uKKM=; b=EDZcbDkryNHUq+1LtvqavsxqGBJ2zTgq94L3okmprwpunnwTqR843h/HBRE9aU+gHJ V4HcsR9N0EJlXs7fC0Wt4d5cyP4EvYKBZDbJQ7xDwC74mBhV6Om8NAOKru6gJ1ylLOzI wE2MB+h/1AOPbbHBAdNE+XMuiBgywyQ60Mia14JbAEGLC+u7ZOLY/dhydgzotaUpF8uY QwnYAynKqDtPfZzajgUJo2uvhonRZF3QPRJ1e+E9RdcEmRGMFnbFw6dAtUCuCksgLmmn 6JieoL6lt15z7QZ0COWZ8gB9QYLbTQg/F+92uVog9oKiv4936wfJgOmksAKdpwWjacWY YYgw== 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=/M4/DuBTGflvVuChw5Y25GaHL26QwHucGpDopq+uKKM=; b=eKqm/tVaDkXgdBabP8RPwJtrvGIB4x1LY+6dJnGhbLYCl1mjZ3wcEc9Z1JrkLbvst9 vs/hynArKiwO2u19fEbu+JjZsuhssVsS60WWoMzveqaCYRE9GBvqo7USpBgT9itRXnGI HdZNZzo5gsqyXqWr++eTiregoYtcRCvVYjgC7GXSSSrjcOHCmqXo7kxLYEmxu+nca+i2 lDHpuBRNEBOZ/LCJNbLOoxNDqQtAmsNSUXoRfbMpCX5t9QulmsLt/k8FbeFADgI+1uWe V+sVvyogd1jn2v2JSVRvhIzw4PGqCvWuyx/4DHujDgz3qVP/fvmvMyTrMmu/WSh+CeVl tBZQ== X-Gm-Message-State: AGi0PuaUbuA8DlkEo2oGa4W7JYHleeSKUZW0eA3FbsvkIpU7cI/ZK3fO ZJ9hmOdVqddaix9RAitr8pY6JY+Ec4yFPO+eJGVBCg== X-Received: by 2002:adf:e34d:: with SMTP id n13mr1519574wrj.249.1588821081532; Wed, 06 May 2020 20:11:21 -0700 (PDT) MIME-Version: 1.0 References: <20200505102714.8023-1-anders.roxell@linaro.org> In-Reply-To: <20200505102714.8023-1-anders.roxell@linaro.org> From: David Gow Date: Thu, 7 May 2020 11:11:10 +0800 Message-ID: Subject: Re: [PATCH v2 3/6] lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_RUN_ALL To: Anders Roxell Cc: Andrew Morton , John Johansen , jmorris@namei.org, serge@hallyn.com, "Theodore Ts'o" , adilger.kernel@dilger.ca, Greg Kroah-Hartman , Brendan Higgins , =linux-kselftest@vger.kernel.org, KUnit Development , Linux Kernel Mailing List , linux-ext4@vger.kernel.org, linux-security-module@vger.kernel.org, Marco Elver Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, May 5, 2020 at 6:27 PM Anders Roxell wrote: > > This makes it easier to enable all KUnit fragments. > > Adding 'if !KUNIT_RUN_ALL' so individual test can be turned of if > someone wants that even though KUNIT_RUN_ALL is enabled. > > Signed-off-by: Anders Roxell Reviewed-by: David Gow Thanks! -- David > --- > lib/Kconfig.debug | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 21d9c5f6e7ec..d1a94ff56a87 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2064,8 +2064,9 @@ config TEST_SYSCTL > If unsure, say N. > > config SYSCTL_KUNIT_TEST > - tristate "KUnit test for sysctl" > + tristate "KUnit test for sysctl" if !KUNIT_RUN_ALL > depends on KUNIT > + default KUNIT_RUN_ALL > help > This builds the proc sysctl unit test, which runs on boot. > Tests the API contract and implementation correctness of sysctl. > @@ -2075,8 +2076,9 @@ config SYSCTL_KUNIT_TEST > If unsure, say N. > > config LIST_KUNIT_TEST > - tristate "KUnit Test for Kernel Linked-list structures" > + tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_RUN_ALL > depends on KUNIT > + default KUNIT_RUN_ALL > help > This builds the linked list KUnit test suite. > It tests that the API and basic functionality of the list_head type > -- > 2.20.1 >