Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1863864ybk; Mon, 11 May 2020 06:15:20 -0700 (PDT) X-Google-Smtp-Source: APiQypL1EsJIFTvreC1PXXLyB5KXwIhWjAvYMYeFQ7tvxqehlYZuIeCA5SUatlGWVgpubrI9LpvW X-Received: by 2002:a17:906:2296:: with SMTP id p22mr13113601eja.269.1589202920315; Mon, 11 May 2020 06:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589202920; cv=none; d=google.com; s=arc-20160816; b=QnJBxWo4qQeWIixEzcDPyykMR3Liu5p+ZYN85Wul/dN6Gwtvs1KWzUOQasjUI/tNSu 8ZcARxjtut4ikiyVAzHIXirwkh++ObMNwR1Yyun/1LBxbLxLt4RAPX5SrHO9zTdUfKRk yItLkI7PO5EM81vRZjFQu+ZEUCnjCCmc3XjAAnx+ciBVBFSWZ35P1w+8nsKRiL4r16VS UmxaV+UMMTNR3okFUVmUw+45iBREe8wtRcq1iPyIleEC+pQog2Xrl23wswtI0lzqoknV Bulbg3ttC+ZF84KHsZdb4ihzP83uufbicgU0HAF1JZVQtds+b1kIauPF6EQnrAFBIjKL 8D/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=MSSALeybJON0vdo6J8wFop6P10hjXeJOgeHK6FMq2ec=; b=vWDPSbKR0BYw6rmWbqriYi7ZxPF6lgfcNBTUJ1N2Uv4j0rlx1OSsE8CAzTkkTb0E/W /u46QQCrG3FSXqFqfMP0tMLdXW/anLU+pCSjZcdIEw6IvGvuaXOgKS7m0x45cYB5M3U9 b8nyu0mqFfnpwvoKvJChCvRlmXg+9T8P1cqJgFCwLX9j61T4r8arpTo1q1PBxrOKpgT6 dJKY2DziuilA+slNCIuWD3mUdRXqHgC4RaBsvXhFsnADr3LeAoB2dvyAIbDLAZw5ss4f veRPfNTUXCXMWXsa8HHj3Vj24QbDX3Azu96AG5XsO6QzxygXoA6g8xhvbm2SKIHqQWxP Yl/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ShZCN8aQ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c33si4356248edf.264.2020.05.11.06.14.50; Mon, 11 May 2020 06:15:20 -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=@linaro.org header.s=google header.b=ShZCN8aQ; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729662AbgEKNOc (ORCPT + 99 others); Mon, 11 May 2020 09:14:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729616AbgEKNOb (ORCPT ); Mon, 11 May 2020 09:14:31 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEEAAC05BD09 for ; Mon, 11 May 2020 06:14:30 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id o14so8352995ljp.4 for ; Mon, 11 May 2020 06:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MSSALeybJON0vdo6J8wFop6P10hjXeJOgeHK6FMq2ec=; b=ShZCN8aQt2lDeT7IBRUe0XPp++Ppjd3Wf+JazE2uSWM+DGYMvzTnOuNYhfhjwYcrYo pNK5eF1MN/SeH6/xg1hI+0q9NIX9nRh3Yj+im62KmRrvalPpub1k3+w9IiaAgsufKNGC mht3gSfrZcbae2YVfcV3fLypaZ1V1mFYClMmTcH0v+uDo35eAbGgwPcJBmTybFehIroT b0LipaBWKRAB4gY3Mf1Pk9SWeGX/M6zgeExJp+E4EEKl3QP6vPFIq34n3/AngqsMJ+ZU unHO5L3MWOTw09NWFiVj0IjgyL5IquM8Jt817RP80kHYKi6ttzOr/5Pww6WzAvU5vv2a +wVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MSSALeybJON0vdo6J8wFop6P10hjXeJOgeHK6FMq2ec=; b=B7ifrok49KfgMld1xaPk9Yf9HJHC3m76dB7QKCDq58aGe27Rn90b8wJftLu2POH3Wn OGRU0clAYcYlDtAZkpDedBaXSp1bB+PHa2LUj4d5EK2obdPARYXCHjLkAfwFLu+ws5xd 5DmWwi/1THakuXuJ9OOEQ0eX3AEAvByl1uNyNqVY/DLHnbPY0Vuv4ygLSZkFZWIUFpRD Ndi5XdXm8Qw7EVF7QqZMwOvWGlNDAJjQTNyK3J6vNnqzgoocQ8aPkkHnk7OjG+5hlNvX owMrr17f94cI7zUTEZqmzI9OtR/XmUd5MczN0cdHSgBemRoSNYdUggoN8m0lQ84Ymnf7 fi0g== X-Gm-Message-State: AOAM531SLJaADgdBj1kz/+hGuoBmYGiEEShNAofMPzMAYe4halpjEUoh mILb6fBU7jbRnI/0dVDzGSHWDQ== X-Received: by 2002:a2e:8108:: with SMTP id d8mr9840244ljg.184.1589202869384; Mon, 11 May 2020 06:14:29 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id a11sm10031361lji.62.2020.05.11.06.14.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 06:14:28 -0700 (PDT) From: Anders Roxell To: brendanhiggins@google.com Cc: john.johansen@canonical.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, adilger.kernel@dilger.ca, gregkh@linuxfoundation.org, akpm@linux-foundation.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-security-module@vger.kernel.org, elver@google.com, davidgow@google.com, Anders Roxell Subject: [PATCH v3 2/6] kunit: default KUNIT_* fragments to KUNIT_ALL_TESTS Date: Mon, 11 May 2020 15:14:25 +0200 Message-Id: <20200511131425.29808-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org This makes it easier to enable all KUnit fragments. Adding 'if !KUNIT_ALL_TESTS' so individual tests can not be turned off. Therefore if KUNIT_ALL_TESTS is enabled that will hide the prompt in menuconfig. Reviewed-by: David Gow Signed-off-by: Anders Roxell --- lib/kunit/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/kunit/Kconfig b/lib/kunit/Kconfig index bdeee7639005..00909e6a2443 100644 --- a/lib/kunit/Kconfig +++ b/lib/kunit/Kconfig @@ -15,7 +15,8 @@ menuconfig KUNIT if KUNIT config KUNIT_DEBUGFS - bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" + bool "KUnit - Enable /sys/kernel/debug/kunit debugfs representation" if !KUNIT_ALL_TESTS + default KUNIT_ALL_TESTS help Enable debugfs representation for kunit. Currently this consists of /sys/kernel/debug/kunit//results files for each @@ -23,7 +24,8 @@ config KUNIT_DEBUGFS run that occurred. config KUNIT_TEST - tristate "KUnit test for KUnit" + tristate "KUnit test for KUnit" if !KUNIT_ALL_TESTS + default KUNIT_ALL_TESTS help Enables the unit tests for the KUnit test framework. These tests test the KUnit test framework itself; the tests are both written using @@ -32,7 +34,8 @@ config KUNIT_TEST expected. config KUNIT_EXAMPLE_TEST - tristate "Example test for KUnit" + tristate "Example test for KUnit" if !KUNIT_ALL_TESTS + default KUNIT_ALL_TESTS help Enables an example unit test that illustrates some of the basic features of KUnit. This test only exists to help new users understand -- 2.20.1