Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp543217ybj; Tue, 5 May 2020 03:30:10 -0700 (PDT) X-Google-Smtp-Source: APiQypJMaGb48wMxWJNRyMP8Dw2zmjuyFc0KYAnBPm20K98mPm685IDc/1+TaAecnHbO+qkp6DsV X-Received: by 2002:a05:6402:88b:: with SMTP id e11mr1828147edy.176.1588674609905; Tue, 05 May 2020 03:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588674609; cv=none; d=google.com; s=arc-20160816; b=poikEJlwfT4pYFqreMhDAXIuGnd8mfBzxvkka4vNSxxC4rmSyz15A5OcnBT+ANWLCZ aJCRVVXMGD07krTbr9Vfi9H3FLOD0O1y9Os9NTCiq/+R6MNwVNCOqJxq321IfFJLV6DW aH8BciVt/2zyW/3Ld0qjArNwvSjSaagTUMwtlaGw++alskGEqvtW3op9Zh6EVwwLppwz d/Hf3YNTnEPdNzOqCVBHKshrYeKo7eqYvx2qHBrYBKLbzPmjv4NVD1q1U6LIddCObLEl hkb22tyRHGGjN3kAz5hiznwGyjUA6c/w4fBMc8WA6H0ZI+eGw28zG7MEIqSgXR6HDXgv w0HQ== 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=rRiFBDOnGQBRLjLzMXuEXvNbksG32oUXPct1JY4cmik=; b=SVr4+5elMUdCmhYgUjaB19WG86s/eF//IKqwaHxGjVfNvR0T6cGIg7XAFFtYUyfTNM ZuJmZ0hHaNORif+Ckue0Pfwo7ra8Jp5kVAMxPY1v5RyWwfo5/iHvZIJDiVe4FYfHvvnv YmpafJqes7sk7gL6n4352OrsAhQmot0q++BzyX7qRtHcKSvONGtBxdrZAg6pJswv2zel cnJKiRgVvnvU7A1ZKmI52SO/M+hy3jehzk97UwyOwenSXcfLfjHWr3yoQGgX+ACw3eBH zMGA7dF2lMfyWXWSAhL2cxOMLI8ACZ/M7jVcXDBL58kxud3QMSO/Iz/rLPq0Xzm7XY+1 NkEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LFmC24mP; 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=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 w21si936748edx.313.2020.05.05.03.29.46; Tue, 05 May 2020 03:30:09 -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=@linaro.org header.s=google header.b=LFmC24mP; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728815AbgEEK12 (ORCPT + 99 others); Tue, 5 May 2020 06:27:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728762AbgEEK1Z (ORCPT ); Tue, 5 May 2020 06:27:25 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 094E5C0610D5 for ; Tue, 5 May 2020 03:27:25 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id a4so900159lfh.12 for ; Tue, 05 May 2020 03:27:24 -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=rRiFBDOnGQBRLjLzMXuEXvNbksG32oUXPct1JY4cmik=; b=LFmC24mPBJC0sTlA2HASUPylx7foxAbwXYu3Lk7iButcxcHNtKnJ9lU/C4qoLZUUZp 9gcow66TgPpxKKSj1IKgjRrTNP09KsitmqgKx/T+saPhx2zgVUHLUJE0SElbTerGNBB2 N1M9L/FP0OTK3YV9nMHdb+Zwgw2fOaQzOWs0IBTvB0/pn68wDdlncjfg5ow1XEq6KG3z Dj4pa2pjB+/4XZ3K6MmQULKqZKZpZGPsw6ZILzLD6IlxgjzJgYYD9gtJVI457FxJb58C lqIOaSu8waDl9z6CemsMW6fvNn5COuvgzZnVRPwGJYBQDx8QXIEOXu9OCCUowwSlF83U SvBA== 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=rRiFBDOnGQBRLjLzMXuEXvNbksG32oUXPct1JY4cmik=; b=fAb6UbevprMR06k9J2DCLpyB8TQs/kQJw/nosCS515//B7Vu26FfkyvlRVbwsYJRU6 RE07c5kQhH2154c34c7ureCPcem/yochbn2wsp5xzLlRgnov55uPcEBQkuc62jBXTOZ5 K2lmp3FAbz5a2DHPo9CH/bvQWW1c8AM19dR2h06u3f5RI1anrAluDPVnM+y9yImVK2Ut 9fugagfLqFCohI041ZaZrI6AJ8TJUWD2n548qA2bYV17SN+nhcNfZpWUHCmRsayq9Yyh aJbpLKLeh70/HpdLIVZf5EQ9v4DxodhzY6WITcM6jusdiM3eH43vjuR0himzzP/tOiMH xqrw== X-Gm-Message-State: AGi0PuZbey/ZNwgMCF8jKuX5QAyJh0xZF4UbYyP7stWSaojiLRKR8j8Q peb0omx9rOKa070qElTGCr+Euw== X-Received: by 2002:ac2:48b2:: with SMTP id u18mr1203102lfg.122.1588674443487; Tue, 05 May 2020 03:27:23 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id b2sm1598931lfi.14.2020.05.05.03.27.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:27:22 -0700 (PDT) From: Anders Roxell To: gregkh@linuxfoundation.org Cc: john.johansen@canonical.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, adilger.kernel@dilger.ca, akpm@linux-foundation.org, brendanhiggins@google.com, =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 4/6] drivers: base: default KUNIT_* fragments to KUNIT_RUN_ALL Date: Tue, 5 May 2020 12:27:19 +0200 Message-Id: <20200505102719.8071-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 --- drivers/base/Kconfig | 3 ++- drivers/base/test/Kconfig | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index 5f0bc74d2409..c48e6e4ef367 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig @@ -149,8 +149,9 @@ config DEBUG_TEST_DRIVER_REMOVE test this functionality. config PM_QOS_KUNIT_TEST - bool "KUnit Test for PM QoS features" + bool "KUnit Test for PM QoS features" if !KUNIT_RUN_ALL depends on KUNIT=y + default KUNIT_RUN_ALL config HMEM_REPORTING bool diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig index 305c7751184a..0d662d689f6b 100644 --- a/drivers/base/test/Kconfig +++ b/drivers/base/test/Kconfig @@ -9,5 +9,6 @@ config TEST_ASYNC_DRIVER_PROBE If unsure say N. config KUNIT_DRIVER_PE_TEST - bool "KUnit Tests for property entry API" + bool "KUnit Tests for property entry API" if !KUNIT_RUN_ALL depends on KUNIT=y + default KUNIT_RUN_ALL -- 2.20.1