Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1863983ybk; Mon, 11 May 2020 06:15:30 -0700 (PDT) X-Google-Smtp-Source: APiQypJmufTsl2TYrzcYfmOVvY1yy1iH8svFrzNcELTnDqzK6bAlcHWsn8X8rDkTUYvv6IzaUT2f X-Received: by 2002:a50:c01a:: with SMTP id r26mr13613184edb.361.1589202930432; Mon, 11 May 2020 06:15:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589202930; cv=none; d=google.com; s=arc-20160816; b=OllcPDYwTM/k0z63SFEcXtfJ5jwhvtkwGz3yD5qGmkDinapW07iPZEb9tLxbZStHQ2 KwgAESVm52gW7krJss37bzFfsRq0S3HfhXtzQadwVX/mDueGsXBesWwPF2ruYTKzxDnp UY9ZZJ6287pCJfB5s/0L6p3IUnmzuSIXhtQ530/EPVWjFWVIfdYh/goeSpRWLTGWIPri Xu3yN+E424a02Zr480CMJNkS62OZcXEsjA89s6J33OeMlJmnOs5BE4/cH/FsDLYIs0Fj sN7+6b9JKOP9Lpf5sC6ssxMSZxb+XQ1snay+zeQRjG9TKp6vwdS4ikftJt5topL+GLzH Dgnw== 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=uOQlRoobz/JSTnw7jwwegH0gSDxJKtqarUsKs1ALhNM=; b=H9OKFYAFtRQ3/JMYmScBzAnNphCyQ1jCkJO2EcVpyGtiIvvUCgwiY6KjIOqOT3hY1g kuo2pZcIORmLys6mtYKjMs3wXI0XZwJxUAK9Ov9gQPVFLlwFpIwErfh6X1VOkhtyypQo GVPCKaILlhZVCQ6TBSmndt1OmfaOZwLjTM3dnYAPy9khbzR7ruA64fkPis0rj77V65VJ 8O2/2DXpna05OPiFLuNMWGVG1hH7mR09rqCvU0pBLb41nsD3CcLT5P93PCvVJQwRTa4M aGu8cw5z0c3Q72oaEj+nogRwSc37YU9zxcFnxVwZaWHNn2BWjXmzS/FmM/Mg96NHpahD l5nQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=O7IbKpf3; 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 by15si5870248ejb.229.2020.05.11.06.15.05; Mon, 11 May 2020 06:15:30 -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=O7IbKpf3; 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 S1729650AbgEKNOn (ORCPT + 99 others); Mon, 11 May 2020 09:14:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728776AbgEKNOm (ORCPT ); Mon, 11 May 2020 09:14:42 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78560C061A0C for ; Mon, 11 May 2020 06:14:39 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id j3so9400412ljg.8 for ; Mon, 11 May 2020 06:14:39 -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=uOQlRoobz/JSTnw7jwwegH0gSDxJKtqarUsKs1ALhNM=; b=O7IbKpf3NxRDO3Qz4E22XOJiODI89ShsyRIBjfFqiBxYbmyzjqlqyDUUuluKWLondb zvLmdYtEfINYouhmprMb9bnYeW2ULG+ffMYDS3Hyz1jLdR29D6t24/4zBAL1Xh3W4jti 57sw25xbYMqSo0NWD6CftkCY5w24yKxWy6bIE4qRU3l4Y9UiMKz1Oz0GVyviY4znjJzR dvF1SHdR6PDuhh59w/+680xYeLXE4uIspt4BilLfsI9Hg3T886eg9gExkPngkIkQNVzP WOROjQRPgANTvGvNhKsku53v7mZiLgZ2QOJ0u2I+DZa+VkNc5AwzgG0w1M6UW63HzuDm E85A== 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=uOQlRoobz/JSTnw7jwwegH0gSDxJKtqarUsKs1ALhNM=; b=fNU588DT7+lbL0cA0YAHSy3bHkwVNREhJfwzkABQwW4MLzvMwf7eg8yn1tBVPg4WBV R+wMh5v4q1p2heV/TPVjZGJOG+PvsXdFUOezG80kYyGiJZiuJQm8Or3N8D/I0Yvl4rvm 6rC9G7AN6VV5hV9R7F1vqraRMEIJa5Drdg9nc78W7POiy2asMX+NAFVlpE0r7pwrMIss p3MDj4eNUbcYLPUaEg6UMePp9Odwkd80xW6TLrnSRdwkdnHzj9jKgHL0jpK5KzUIoP5L tu8YvBQoQa152u2s+jvgb2oAIojNlKb3GGWcE41PRPRWW5pvdWPAQMYfcRx6pYkNj1Sj Noxg== X-Gm-Message-State: AOAM530TPHXxcX0CtovRVfVTjbVw8+L0HZC+8irsNfPbV8GPe3J4DhvP DLkjEtr3RuGYTVNmnjz+8G4fNg== X-Received: by 2002:a2e:9942:: with SMTP id r2mr466938ljj.283.1589202877635; Mon, 11 May 2020 06:14:37 -0700 (PDT) Received: from localhost (c-8c28e555.07-21-73746f28.bbcust.telenor.se. [85.229.40.140]) by smtp.gmail.com with ESMTPSA id i1sm36800lja.3.2020.05.11.06.14.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 06:14:37 -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 v3 4/6] drivers: base: default KUNIT_* fragments to KUNIT_ALL_TESTS Date: Mon, 11 May 2020 15:14:33 +0200 Message-Id: <20200511131433.29905-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_ALL_TESTS' so individual tests can not be turned off. Therefore if KUNIT_ALL_TESTS is enabled that will hide the prompt in menuconfig. Reviewed-by: David Gow 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..8d7001712062 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_ALL_TESTS depends on KUNIT=y + default KUNIT_ALL_TESTS config HMEM_REPORTING bool diff --git a/drivers/base/test/Kconfig b/drivers/base/test/Kconfig index 305c7751184a..ba225eb1b761 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_ALL_TESTS depends on KUNIT=y + default KUNIT_ALL_TESTS -- 2.20.1