Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6631715rwr; Tue, 2 May 2023 03:19:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7qGCQfIVrLL/pnezXeIAVlR5xXl383OywDiTdzEtkBqJB2o/jEaGavxVyotVWqzTXxBoEf X-Received: by 2002:a17:902:b205:b0:1a9:7e44:17 with SMTP id t5-20020a170902b20500b001a97e440017mr15160988plr.17.1683022790850; Tue, 02 May 2023 03:19:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683022790; cv=none; d=google.com; s=arc-20160816; b=EbpUCEMD4Ez+9pyRKRvLdBMU3gukJ1V7U18cPD6FVeZDU2IKjZz1+5iUkVG8IsJPwA VzrfFZ3CtGZFH8fcFJOFHQjIyZy0mVHK+RsH0LtMTmv9AJl6l+0ClGvvdE7b9NWRjj80 ult6uRcW6qJAfUJdmuaRljxMjfkAdYj5vrnrqg2beYVlQE9+cvlq6xl+twZL6KXAc1dA ++Hmr0Eg8vFoY28xvsib+0RQ5TECExQbj3uTeAY7GzynRyt3nU6eYWNNy0me5NgDvFZ3 5U79a1JkS+HylKMcVK8swnrIyIiQL1xCCEPLUGmH0ZmGskptiVZTHhdcZ1zWUdUxDryM S7qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=cQABdtxKoCiBh4Rk84Ypi9yRfFehc8bxfc9C8DJE7FM=; b=0ssfKlObz/FdOAclsaOage+NXDpjiHXo7SiWqt1d4RkReH5Ox5QgdAu57NCQjGQK8c PX1KvgoOAC1XhkMiqRAP+OMx0zbDqhAojBOHrYmLWvETDKg1ywd700SqVyl2FOSl12jt lw9jKQQgKPBQQNeGPjTMw3Qd6HFGUbdg2zRwIwQM7V+YGwgrlefk7kvOIOn1Fal72J7f 2610K8ZIxRPZOvei9a0NwSn0gNw7cE5JJDt0GzQZxeHaMKTSIr7svQDfvuqTpjGFKGzE mGu066H+b0FUOMlAhjm9UgUtaGB9/guUpcvj4Nhy2W45tvNHLbdPSC0q8A87NG6lARrW Iwug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n3-20020a170902f60300b001a64e866c8csi31893886plg.374.2023.05.02.03.19.36; Tue, 02 May 2023 03:19:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233753AbjEBKRX (ORCPT + 99 others); Tue, 2 May 2023 06:17:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233582AbjEBKRS (ORCPT ); Tue, 2 May 2023 06:17:18 -0400 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 47B1E35B8 for ; Tue, 2 May 2023 03:17:12 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed30:f07a:92a2:297:162b]) by albert.telenet-ops.be with bizsmtp id rmHA290075FQxRj06mHAk0; Tue, 02 May 2023 12:17:10 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1ptn4D-000ymZ-Vj; Tue, 02 May 2023 12:17:10 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1ptn4H-00AtQA-WA; Tue, 02 May 2023 12:17:10 +0200 From: Geert Uytterhoeven To: Dmitry Torokhov , Javier Martinez Canillas , Brendan Higgins , David Gow Cc: linux-input@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/2] Input: tests - modular KUnit tests should not depend on KUNIT=y Date: Tue, 2 May 2023 12:17:03 +0200 Message-Id: <483c4f520e4acc6357ebba3e605977b4c56374df.1683022164.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org While KUnit tests that cannot be built as a loadable module must depend on "KUNIT=y", this is not true for modular tests, where it adds an unnecessary limitation. Fix this by relaxing the dependency to "KUNIT". Fixes: fdefcbdd6f361841 ("Input: Add KUnit tests for some of the input core helper functions") Signed-off-by: Geert Uytterhoeven --- drivers/input/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig index 735f90b74ee5ad44..3bdbd34314b3495a 100644 --- a/drivers/input/Kconfig +++ b/drivers/input/Kconfig @@ -168,7 +168,7 @@ config INPUT_EVBUG config INPUT_KUNIT_TEST tristate "KUnit tests for Input" if !KUNIT_ALL_TESTS - depends on INPUT && KUNIT=y + depends on INPUT && KUNIT default KUNIT_ALL_TESTS help Say Y here if you want to build the KUnit tests for the input -- 2.34.1