All of lore.kernel.org
 help / color / mirror / Atom feed
From: "José Expósito" <jose.exposito89@gmail.com>
To: "Maíra Canal" <mcanal@igalia.com>
Cc: Louis Chauvet <louis.chauvet@bootlin.com>,
	Haneen Mohammed <hamohammed.sa@gmail.com>,
	Simona Vetter <simona@ffwll.ch>,
	Melissa Wen <melissa.srw@gmail.com>,
	Maxime Ripard <mripard@kernel.org>,
	Arthur Grillo <arthurgrillo@riseup.net>,
	dri-devel@lists.freedesktop.org, kernel-dev@igalia.com
Subject: Re: [PATCH] drm/vkms: Compile all tests with CONFIG_DRM_VKMS_KUNIT_TEST
Date: Fri, 13 Jun 2025 10:17:45 +0200	[thread overview]
Message-ID: <aEveqf6QMFSryYFN@fedora> (raw)
In-Reply-To: <20250611205704.334527-1-mcanal@igalia.com>

Hi Maíra,

On Wed, Jun 11, 2025 at 05:56:49PM -0300, Maíra Canal wrote:
> The Kconfig option `CONFIG_DRM_VKMS_KUNIT_TESTS` does not exist. However,
> the VKMS format tests use such an option for compilation, meaning that
> they are not compiled at all.
> 
> Use the Kconfig option `CONFIG_DRM_VKMS_KUNIT_TEST` to compile all VKMS
> KUnit tests.
> 
> Fixes: 3e897853debd ("drm/vkms: Create KUnit tests for YUV conversions")
> Signed-off-by: Maíra Canal <mcanal@igalia.com>

Good catch!

Reviewed-by: José Expósito <jose.exposito89@gmail.com>

> ---
>  drivers/gpu/drm/vkms/tests/Makefile | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/vkms/tests/Makefile b/drivers/gpu/drm/vkms/tests/Makefile
> index 0ee077942ae2..5750f0bd9d40 100644
> --- a/drivers/gpu/drm/vkms/tests/Makefile
> +++ b/drivers/gpu/drm/vkms/tests/Makefile
> @@ -1,4 +1,7 @@
>  # SPDX-License-Identifier: GPL-2.0-only
>  
> -obj-$(CONFIG_DRM_VKMS_KUNIT_TEST) += vkms_config_test.o
> -obj-$(CONFIG_DRM_VKMS_KUNIT_TESTS) += vkms_format_test.o
> +vkms-kunit-tests-y := \
> +	vkms_config_test.o \
> +	vkms_format_test.o
> +
> +obj-$(CONFIG_DRM_VKMS_KUNIT_TEST) += vkms-kunit-tests.o
> -- 
> 2.49.0
> 

  reply	other threads:[~2025-06-13  8:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-11 20:56 [PATCH] drm/vkms: Compile all tests with CONFIG_DRM_VKMS_KUNIT_TEST Maíra Canal
2025-06-13  8:17 ` José Expósito [this message]
2025-06-13 17:18 ` Louis Chauvet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aEveqf6QMFSryYFN@fedora \
    --to=jose.exposito89@gmail.com \
    --cc=arthurgrillo@riseup.net \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=hamohammed.sa@gmail.com \
    --cc=kernel-dev@igalia.com \
    --cc=louis.chauvet@bootlin.com \
    --cc=mcanal@igalia.com \
    --cc=melissa.srw@gmail.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.