Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp372093ybj; Wed, 6 May 2020 20:27:46 -0700 (PDT) X-Google-Smtp-Source: APiQypImWeGj/Qn2rubTlltKLK7lbWD1FCyQbV7Tz1e35FyrDnYA5uTRfWfq7pHHLMhVlf0DIDjH X-Received: by 2002:a17:906:1ccb:: with SMTP id i11mr10076631ejh.101.1588822066487; Wed, 06 May 2020 20:27:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588822066; cv=none; d=google.com; s=arc-20160816; b=BNfiCXvD/hGhIN5no2tkzAs4A1pfH/jrrigWStWs6Jy2tSACDxv3Ehi1iE4JFI1HuM LI7QGkzyEjUva2P5I7ak6rC4wlrlb/OWYFUoiU6tuw8Cc+C/kM3jXA1tLLDN35SAQQ2v 8bwXACsevIrJNIQ+n90A7LPOR7HpzU8IYgRxO4LywYt7Fu7xEFY7bJHzzXMWziySLFzz M7t6jK3b144V2d9Lg7nA2Co2iXopCSEv8f9wquPNKR1yzaw7D4IHM4nBWOTzwEl2g9R+ +3VW3SrzLOuaW8sRWIKQp7HSuA+Jg7CLrDER8r0vqIvKCxwM8SOGEKNoRRq7PF5BPF+S CLdg== 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=kk0ta8CJJvK0axV2H19B2ID8CRr84BT0Md+eQfI6e4I=; b=hJCcBZeOvkNs/5f/cICx4hfZSjgEnAQkAU4Q0vVZtCYGdTRfRr01SnJ4db3LvZwTL9 vpTHp3SPddywYOH0h4W0xfx0CPqRW6mJXgN0Wpqd+8lnpxIMwD99nqcT2A1wQcXDKuue zJXziwHh8QBEVTS85lHgcpPZEsNVofs7L/pAr1qDJADMedv2jAlQCez/0ZxL9ibJXUL4 f8WpG7I5V0i+zXplDNaqcpNOQsw5ZD9QkcLJMQegBrQmrO0XADs4jsoXygbMJepzofgt zC7oHAuHfkOho+zpfkSwdBVwx4SGjxzk8hQ+WUHpwrwKu0j+w6rWepH4jQS+awaCPsuW 0K1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lZEvqhDs; 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 lu44si2319101ejb.394.2020.05.06.20.27.15; Wed, 06 May 2020 20:27:46 -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=lZEvqhDs; 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 S1725966AbgEGDWU (ORCPT + 99 others); Wed, 6 May 2020 23:22:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726074AbgEGDWT (ORCPT ); Wed, 6 May 2020 23:22:19 -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 1F65AC061A0F for ; Wed, 6 May 2020 20:22:19 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id k12so4682048wmj.3 for ; Wed, 06 May 2020 20:22:19 -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=kk0ta8CJJvK0axV2H19B2ID8CRr84BT0Md+eQfI6e4I=; b=lZEvqhDsVUxY8Nmk6q2BTqJ/Mt6WMu3RQjTMotZz/9xzTGG3LPuhtCYs6hOSnbgZI0 RVgpQo7Y4gTJK9Bztt3RTbbdz8565pTtzOUGubDfeXBrkqEsXX7b6VeZwFr5BF3XEDbE JhV28t+iZyxO34zVhZPu0T8ZVYntytXi0ws4ozQXB+PfMU3gLvU4bPHzfd8GYvkVZonW ShlB1q0h7Cpuj8JjCh9Do1LotWLqUgcLNHFc2gxKNBfK/8IuPIVYwndjwc29ApwMZ3hw IjwrTXACc7i4gaol3bPpPkO2ezHZ0x5eqXoeGIwZ7CFwZQjTcEwYIllGeQbjqIRGHzxl HelA== 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=kk0ta8CJJvK0axV2H19B2ID8CRr84BT0Md+eQfI6e4I=; b=dlFIRHmlAAeZFPoAoXpns8kb3P1EE1OH5oWzqHFjP6OL+WwPHLnAFf+xDcFZTYjPII /ZmlfFnhLIRHD6Ufj95DomRO7IXxCiYv5yQnNH9hdeQSfcQyjWQ48A+ewLLcoLOE6/q9 psHUeh0PNCLCpZxn6S97hwoz7kbYtyZgfACSgvQeVS66ZFl6INdKUj0tbRbcBhG9O8T0 kS13J5KUqxjlWyw2klaXAQtD7EaQ9dDAzwH6lyKRy3F10xG2Jhb2d840JFjlRmCtO2i2 PdqS98HjYA4M30048trrS6C1pLxYuPTddjy3qDyQ3wvtIJtwLTClbLDPD8uw/NzxTv9z 9tKw== X-Gm-Message-State: AGi0Pub9FbDUq33hrWnwvCrCClTTP1PN01Q3fv/PeoZt9ZIE7CPepIsI WlLQlxokhn+P0trJKWEtGeq96+52v+Q0163VzSCdYA== X-Received: by 2002:a1c:a512:: with SMTP id o18mr7610574wme.138.1588821737544; Wed, 06 May 2020 20:22:17 -0700 (PDT) MIME-Version: 1.0 References: <20200505102723.8120-1-anders.roxell@linaro.org> In-Reply-To: <20200505102723.8120-1-anders.roxell@linaro.org> From: David Gow Date: Thu, 7 May 2020 11:22:06 +0800 Message-ID: Subject: Re: [PATCH v2 5/6] fs: ext4: default KUNIT_* fragments to KUNIT_RUN_ALL To: Anders Roxell Cc: "Theodore Ts'o" , adilger.kernel@dilger.ca, John Johansen , jmorris@namei.org, serge@hallyn.com, Greg Kroah-Hartman , 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-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. As with the others, "test"->"tests", and "of"->"off". > > Signed-off-by: Anders Roxell Reviewed-by: David Gow > --- > fs/ext4/Kconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig > index 2a592e38cdfe..76785143259d 100644 > --- a/fs/ext4/Kconfig > +++ b/fs/ext4/Kconfig > @@ -103,9 +103,10 @@ config EXT4_DEBUG > echo 1 > /sys/module/ext4/parameters/mballoc_debug > > config EXT4_KUNIT_TESTS > - tristate "KUnit tests for ext4" > + tristate "KUnit tests for ext4" if !KUNIT_RUN_ALL > select EXT4_FS > depends on KUNIT > + default KUNIT_RUN_ALL > help > This builds the ext4 KUnit tests. > > -- > 2.20.1 >