Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp544104ybj; Tue, 5 May 2020 03:31:09 -0700 (PDT) X-Google-Smtp-Source: APiQypIAqyaKkfp3uii9IMOC3C2tYTenvZFMtUnrEo0sVPEGThpdWLQcEiHcC+Kf6KhMEMo3WWhC X-Received: by 2002:a50:f98c:: with SMTP id q12mr1989821edn.172.1588674669676; Tue, 05 May 2020 03:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588674669; cv=none; d=google.com; s=arc-20160816; b=UdbS8umYyeUIXuGoGZ9EGBqXM0piPqOYJPArlUeQRJN2TVTZcLRYGZ0b8tZOU62/U5 DPAy8CWDwn4qMpGcV/hDFq/VG15kxqPjWeOGj9dh/RwoDK8t7Mvp3zJnB0mMjl8h2+SG SMwAPkPz37xszir1wb1Jmn/n/gfmz6WkTTolOh3LMBgCH8xBEcYGr8ZTkopfbo+xzByJ yeO7qWk10NbD9DSmjDnwH2XgEAqUwZ7IJ1qKnAH0d53JBUSv8zvU8A93Y4CFWl4I6nH1 sgnnzjyI5F/mXH0hpKTW6E3eIjVjLfLch2qO6PTDXiO1xX9Esv87KZO00aYfiXtBDNFK VJGg== 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=bgXGdUpeDA6S2n2bWfsapxIox2ARona/I5hdI1ZbAMo=; b=lzV6G+ZjzIQiprUbe/ZI3QWuWrpKwjgHo4rJeiLiM6DsEIHboQqz99G0IjBxEyql2b NEdJCWrB1KeeVjtSUMBGo0CNcFbOWzXoehe3ZHHMHNnckYSmYSOBbWGAKmKT5YPU+9jM PppTvXG5B1neoWIG6Norkkv56z4/nI5aPBg5Rw0Teffa6Yc2nDzJY/KjRCAxB7+F8sQT Q+SEcHqgosIHOvEC7DsN7MYcMC3toRqQyFtjLAaIQbHnYTyaD1oXROH23uXQMCQIciFo lNabftw44RQl0SFc6P/t5MgMCszp/XPDAMgJ44pWrfenmyqc5b6ep+eiGMxruNEsZvKq QLyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jCg5rc4f; 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 bc23si968720edb.241.2020.05.05.03.30.45; Tue, 05 May 2020 03:31:09 -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=jCg5rc4f; 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 S1728781AbgEEK10 (ORCPT + 99 others); Tue, 5 May 2020 06:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728783AbgEEK1V (ORCPT ); Tue, 5 May 2020 06:27:21 -0400 Received: from mail-lf1-x142.google.com (mail-lf1-x142.google.com [IPv6:2a00:1450:4864:20::142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 968BDC061A0F for ; Tue, 5 May 2020 03:27:20 -0700 (PDT) Received: by mail-lf1-x142.google.com with SMTP id 188so910280lfa.10 for ; Tue, 05 May 2020 03:27:20 -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=bgXGdUpeDA6S2n2bWfsapxIox2ARona/I5hdI1ZbAMo=; b=jCg5rc4fzbUcTEW82gMx4stI32yZ+9/AL2EMw+SxTScb0kgtBp4gy01prld/ovKhlg phUMh+Ol9Lsoue6wcRVA1f9S4Mp0nNf9LIyJD0VUiNMN9jjgp68FD4GZcb4/pEHlzZ0g BYQvsJx7Kn6Ufa6bJPwUgnVYZ8liUKU3W4dejF5TTBCCSKY7jx22+P2uLRGMRiNz3W9s MpX46xaYG/zR/6xFfjjF3xWx7XMXSPz56wxgMrF289Hpp3/TKC3vkhKq2rdMcjRvszH0 /W1p009a5oG+az6+pK9gkFpq65lLB3lBHgN/H3c9DCYMGdm2Apx5WNVmjhi7OMXfyj04 gPdg== 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=bgXGdUpeDA6S2n2bWfsapxIox2ARona/I5hdI1ZbAMo=; b=Umqyk1ZIQZpUD+PkqYs0xpXf5txzzJ0/eRrvUd82UPm6CnxBHVkyqH4MXehcIMXw6O TKMx5TNDVfWCZw/fMjc01BQNG6N94nOjiHIR/48oRuGNKMAeG1Kjr0cZ1Tz/N85og39z J0lI3eOsXhArd4Z1ACxKfgkD8Vm+073LPdYBSYhhzKxTUHWhRJQ2NW0zEdvhIYi2a7AD vSt1iLfW2fx+6/q5E+o9wj4nF3P5VcZ24XduRHyVdkMVmdJWHjOvZF311NUTk40Xk8RY pTXM/RNORgX60BJ8/IowKYl+NQp1HnGI3mfckK6n11Wic3o2xPKM31dtFi41FLLbqQ+4 fmOg== X-Gm-Message-State: AGi0Pubc4s18on8ub2HkPjfD5mFyiHgwU/ob8mt4ZiKvOhzX70LLPEub QnhDRb3mK7rYarjTKAULUOwpQQ== X-Received: by 2002:a19:5f04:: with SMTP id t4mr1255915lfb.208.1588674439039; Tue, 05 May 2020 03:27:19 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id g20sm1649058lfj.1.2020.05.05.03.27.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 May 2020 03:27:18 -0700 (PDT) From: Anders Roxell To: akpm@linux-foundation.org Cc: john.johansen@canonical.com, jmorris@namei.org, serge@hallyn.com, tytso@mit.edu, adilger.kernel@dilger.ca, gregkh@linuxfoundation.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 3/6] lib: Kconfig.debug: default KUNIT_* fragments to KUNIT_RUN_ALL Date: Tue, 5 May 2020 12:27:14 +0200 Message-Id: <20200505102714.8023-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/Kconfig.debug | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 21d9c5f6e7ec..d1a94ff56a87 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2064,8 +2064,9 @@ config TEST_SYSCTL If unsure, say N. config SYSCTL_KUNIT_TEST - tristate "KUnit test for sysctl" + tristate "KUnit test for sysctl" if !KUNIT_RUN_ALL depends on KUNIT + default KUNIT_RUN_ALL help This builds the proc sysctl unit test, which runs on boot. Tests the API contract and implementation correctness of sysctl. @@ -2075,8 +2076,9 @@ config SYSCTL_KUNIT_TEST If unsure, say N. config LIST_KUNIT_TEST - tristate "KUnit Test for Kernel Linked-list structures" + tristate "KUnit Test for Kernel Linked-list structures" if !KUNIT_RUN_ALL depends on KUNIT + default KUNIT_RUN_ALL help This builds the linked list KUnit test suite. It tests that the API and basic functionality of the list_head type -- 2.20.1