[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABVgOS=gH58gj9-Wf1K0CJ085XJag=oS-8ocx6oUhTHcW1gecw@mail.gmail.com>
Date: Thu, 4 May 2023 14:29:25 +0800
From: David Gow <davidgow@...gle.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Javier Martinez Canillas <javierm@...hat.com>,
Brendan Higgins <brendan.higgins@...ux.dev>,
linux-input@...r.kernel.org, linux-kselftest@...r.kernel.org,
kunit-dev@...glegroups.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Input: tests - modular KUnit tests should not depend
on KUNIT=y
On Tue, 2 May 2023 at 18:17, Geert Uytterhoeven <geert+renesas@...der.be> wrote:
>
> 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 <geert+renesas@...der.be>
> ---
Works here, thanks!
Reviewed-by: David Gow <davidgow@...gle.com>
Cheers,
-- David
> 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
>
Powered by blists - more mailing lists