Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp372263ybj; Wed, 6 May 2020 20:28:06 -0700 (PDT) X-Google-Smtp-Source: APiQypKJoKdYAa/u4gtX24VgN3E6Ie4HoCHlcUKcKfMKc9+GvV0RrYiG1smWIwzbhivaZb2oF/+j X-Received: by 2002:a17:906:8611:: with SMTP id o17mr10019774ejx.221.1588822086211; Wed, 06 May 2020 20:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588822086; cv=none; d=google.com; s=arc-20160816; b=CG9PtWBVanOCZ7bz6r0ruggMOiVb19jF1oxKZ6loWxZd9AP+s5lHBItx0aZQYRdeds j9XZkrdybIt5o0pqvdFh3xBRWNqqLNwkx0vMYR9rDAUsdFHxJbjg1odtI6F6YPLDMpej 6VT+e65cfUbQUgwbunQu78Ii1v8UKvYgPwlgW6w5FspphzHi8unhvrvhBmFkxIdcOWZL 7q/8fNSad2iG5EMWZ4bJNGn4ACW+xi6FH5dyfCcrZRU0QkA9pcGzgF9XCF95vRfJXxNI AjPw6H0TBlVkokcssMGLsJllKhATGII5/FqyfY8KPwlxg7TmBYjNQN+69uEbAuNbkfSU Sxmg== 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=pDjmi4nDijjLhAo3pAeGchPyMMB2jhrTWFoR5lY155Q=; b=l5a5fYRrPFb5fv/eGcDHvpdxOsK833FtUItCFGchKW6rKnlMbokcERV58BNDE1QWdc ZRKQnVAAzGyooguvrneb4tq9pDLv/WJ5nlG9dHGQSebIuaesbp6G3ftdmoAM+gBdtvzl qE6puUW8Ln5TnroSM0sm6goPy2vZHtuGklA7rBt24aEQdb7rQdPCMJxS4cFnYdB5rKjl ycZGrM12utNfpYk5/YxPDhIsxaqZPnu+TdcXBaqMfh3ccCS5ZRYH/jfPL14yaXP7lFnG 4qJD9fRLoBfn2em+MOpFgVz015sK1Gcnc07bDa4hs/3JrvQCrpiEFSifNWKjz0D0Tbcz zevw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=BmuVDhBX; 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 b7si2385650eju.8.2020.05.06.20.27.38; Wed, 06 May 2020 20:28:06 -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=BmuVDhBX; 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 S1726470AbgEGDUu (ORCPT + 99 others); Wed, 6 May 2020 23:20:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725900AbgEGDUu (ORCPT ); Wed, 6 May 2020 23:20:50 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8BEC061A10 for ; Wed, 6 May 2020 20:20:49 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id 188so4696865wmc.2 for ; Wed, 06 May 2020 20:20:49 -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=pDjmi4nDijjLhAo3pAeGchPyMMB2jhrTWFoR5lY155Q=; b=BmuVDhBX37IfMkagW6Mr7BRshXN5szVExBMJvr0sd6SgAWNlVN8ep350rhWuVUdqxF 6KMuA33HRh+Xv5D3eo3eNBbCuZidgijDiZI1MiVJ/kFftxDyoBh0+ocmtWldFNY5a7br ltmhc1SNqt1egXBTFhenT4oQZCj0HtacdC9FqFfJPU5EdYGt4gMe1ttM/p25/ml5XuU2 FeJq4ijnny9A9G3mnuO9XHZfxNoaSAKFySBPG+W+8LO/C28S+BvQIfDUW/1FRsCyxTXE iDT18wSeR0daXs/5ow9Zmai7If4Z05ohaJhuobVMhj95CHthc5Ily9sP1akGH9tlEbXx pJ7Q== 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=pDjmi4nDijjLhAo3pAeGchPyMMB2jhrTWFoR5lY155Q=; b=UA7JwYtrd6rAfNtoeRD7fv01syC436tNy7iKf6gO/c0hgHsb98kx4bNtNnrcTYYEIe GgPmbLmaBmeTQnOVAjDjoK1HWKDcCsv3LQmlOLmic7HeGix26gFvgS6uNR3EW8zeI7yN p5++CBChhFkjMYX80K6fm2OUQclgG1LOpbUJvDt8y4W5WZktUoMHn8XkioYBUBho3zqA G640l0nYZ++VMC7n++dmUzomnaslt2zi66hdp6491cAtA/jqZZOLxo0fybH8aJZi5VuK QiLx/hGujWvOLkxWTrhGGzZObx4GGClQZgsmESSidIBnK7eePsxrfq5vveEqoTLMWLNn 74IQ== X-Gm-Message-State: AGi0PubLwH2lbN8X+Re27KSY6uIzhjPTsq4HxitiCPjvwri8mVVscQ6A O2poF5wkC3XT9HeegIwVmTqsDmW1L846PdKY+lyLJg== X-Received: by 2002:a1c:1fcf:: with SMTP id f198mr7844299wmf.16.1588821648002; Wed, 06 May 2020 20:20:48 -0700 (PDT) MIME-Version: 1.0 References: <20200505102719.8071-1-anders.roxell@linaro.org> In-Reply-To: <20200505102719.8071-1-anders.roxell@linaro.org> From: David Gow Date: Thu, 7 May 2020 11:20:36 +0800 Message-ID: Subject: Re: [PATCH v2 4/6] drivers: base: default KUNIT_* fragments to KUNIT_RUN_ALL To: Anders Roxell Cc: Greg Kroah-Hartman , John Johansen , jmorris@namei.org, serge@hallyn.com, "Theodore Ts'o" , adilger.kernel@dilger.ca, Andrew Morton , 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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. As with patch 2, minor typos here. > Signed-off-by: Anders Roxell Reviewed-by: David Gow > --- > 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 >