From patchwork Tue May 5 10:27:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 11528741 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46B8715E6 for ; Tue, 5 May 2020 10:27:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2907B2075E for ; Tue, 5 May 2020 10:27:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jCg5rc4f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728794AbgEEK10 (ORCPT ); Tue, 5 May 2020 06:27:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728781AbgEEK1V (ORCPT ); Tue, 5 May 2020 06:27:21 -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 9691CC061A10 for ; Tue, 5 May 2020 03:27:20 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id s9so928165lfp.1 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=inp/JxJAjqzFesK60GL4SHMHlD5zKp3gnV8CirRSisSgk7HamQPCnIlHp3qKsA+vRh XP+Kla2czQFvEWfaOtOBICA653O8Y5SO+ciDgAvzjvWQpotIKFtN8h20idfwAAEGmTEy 9oOyorUTOaXXX/3lUq5SUHk8AZTubgUy5JrwGxr1JhYfxp0qfBiS5yY49/yUXEotdcar Cyl4dU9pG3V2dJ9dfFrHbYJubNrh39rYJsBSxgCiJ7YKh5QKoPzNdO+sLZ777jSQN+Tp uRpQ2E4QVezxKccB/ql4ESX++pP32b9qICtLf1oaatENBKE96VPlL4JA+Dje4b930DmU 7chQ== X-Gm-Message-State: AGi0PuY3GAzNLCSM9SLVq2J0sgLLZO5bCIw5rZKDYSPUAuQaOflLcuaW 8M4tW1nc9PxcFm5VcG1kfnK0PoNaZAZZqIca X-Google-Smtp-Source: APiQypJSHpXephHI+itU620IH4y5WRHndCkK56pPYq/1X0jg21roe+fznpAa9iZ47D7i1WwwUxIP8g== 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 Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: 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 Reviewed-by: David Gow --- 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