Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp541521ybj; Tue, 5 May 2020 03:28:08 -0700 (PDT) X-Google-Smtp-Source: APiQypKHx8I3LABWrcT5pGda3Eko3tlOLSv6+/AWpWDdedXI6I4HtJw7lVq7omKBUYf0yqm75eB7 X-Received: by 2002:a17:906:72c8:: with SMTP id m8mr2070434ejl.318.1588674488717; Tue, 05 May 2020 03:28:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588674488; cv=none; d=google.com; s=arc-20160816; b=PIkVgxEiVBx0hsiQbyK6XvFBht/wJLec6480l1e8XF5RCOMcSpLu4vuSId5DaBxCHM Q7pOjSRsZOeglK6fdLdeNj3whUEa8iUIjveDThGFQ3k++lfoLbDSLM4fc7CGjoiDiYeE SZGfa0xjaW9CFpJPfKVmOq+fGFUJAW4h635wK13cxpldbf4vNCHi3lsWnxdrQxYEcLGG riLbHRTKPGQrYktdztQIaRRhwkXitxP38S8Ej1RX2WWerexCwoAGPLHDfCOrs0TMkA+V gvls5alf8QXax1kO0mbZrg/4O388IOVj09dIR7v6SFutVnNMbckuFtOtAh1ea7o23/2I sPhQ== 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=jihPcHqZJxL0w4uFWCdf0HGMcvBOKxr0NZgIqhD7lxo=; b=MjSJ9OizSI4fH1k4ySN8jjCXRsszMj2bmcbqxes4wrKAoZjZthpnrinscCQOMOBWln M4LGb8rQVpuv6+dyI6/nb0eGGmV3BryIgpcjwLFUuoCSeSmz29Pro5wG9zQSGPL93Xrm IcvbXBMluKbTV5b8GRVWFm7fnyroIVctzFUi1Ybm9uqhNKJWCZE3C0CA6qQ9g6q19W6J iQHrp2j4QvDoNt45OUDFiMQrT0e/DpKVRsP1y9wzs4IIzQHDY1c+WotYFRvA8dy4QC7D QEz6xFBd/h2oN9gZbTvrhuNuyQCdr5eKczAVlX2d6aLGi8Lr4rvY2DydXsMu4vWDHzsU Jkyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OVBthVSE; 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 u3si1047702edp.525.2020.05.05.03.27.45; Tue, 05 May 2020 03:28:08 -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=OVBthVSE; 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 S1728787AbgEEK1V (ORCPT + 99 others); Tue, 5 May 2020 06:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728763AbgEEK1R (ORCPT ); Tue, 5 May 2020 06:27:17 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87418C061A10 for ; Tue, 5 May 2020 03:27:15 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id b26so923943lfa.5 for ; Tue, 05 May 2020 03:27:15 -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=jihPcHqZJxL0w4uFWCdf0HGMcvBOKxr0NZgIqhD7lxo=; b=OVBthVSECWKCBn2KnlD3uQIl5WfCHuggSsbUuiKGbM3X9Ykk9Q8K/5AJ6iG1wO0nri kQjdWqQgxq/JydpWOmrzUfhmVq+eU6pZEQlp6lZIZCwrUWVBJNBX4mJV25R927HluQIZ 71XMOkY2QloMubs3C1Ws0N0b0/dEf70e2Tf/waWzCgeOY+jAndgJFIftAxVFBSwTLcNc G/szc2j4nA7/pbCFBqNW89aqlpDMbJrV8GghavXxQwz2avBk3ot0j38xwF9kRyC8ZW7J WrHnHSm6DQrQsYqc4xZL7Rf8RzQSUweD+vxYnlA7GbGcT6oAg66sAty1n2WDzZPFPBfA /4TQ== 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=jihPcHqZJxL0w4uFWCdf0HGMcvBOKxr0NZgIqhD7lxo=; b=d3JBqSoqOu/4kCnAiQSMgpQoPgzAVjDqi8ZzU3J5/2YtQfLDUan0bXLUKz7KDaQERd Coe3KG4EQIIX0M15SvJQGdryCM3LrclWiP5aXpb42LKK6CfoGlza7roGOF79HcAVZdDI C8Fi/bcZwHQ+6/AMUjmun1fW7Z/bmWmsL8J0RvvXoFcfHaDW5D51HnvVSW/bXrtDREcr d5IsCa8KmVyPyEj715ZC7YBmmtn+Q+P0d12ec8JxQy8adNhhPtJ9eCy6StHHQHSv4p0f xxPvUR4vn9a0G27St0c5AWm6vX0aMk0RHV3K4t04yQXEsgNl4K35Bzk/VGYehxS83M85 D1lA== X-Gm-Message-State: AGi0PuZ8ucdlRblX8bZe/87RM+G03tFwhItOT7SIxIgiAUFJP2uNbcGe L8/WpfLRFqYvctDUCZHFZ4vW/w== X-Received: by 2002:a19:505c:: with SMTP id z28mr1245732lfj.174.1588674433983; Tue, 05 May 2020 03:27:13 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id e16sm1878000lfc.63.2020.05.05.03.27.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:27:13 -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 v2 2/6] kunit: default KUNIT_* fragments to KUNIT_RUN_ALL Date: Tue, 5 May 2020 12:27:09 +0200 Message-Id: <20200505102709.7964-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_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 --- lib/kunit/Kconfig | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/kunit/Kconfig b/lib/kunit/Kconfig index 537f37bc8400..e6a60391fa6b 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_RUN_ALL + default KUNIT_RUN_ALL 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_RUN_ALL + default KUNIT_RUN_ALL 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_RUN_ALL + default KUNIT_RUN_ALL 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