Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/vkms: Compile all tests with CONFIG_DRM_VKMS_KUNIT_TEST

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>
Reviewed-by: José Expósito <jose.exposito89@gmail.com>
Link: https://lore.kernel.org/r/20250611205704.334527-1-mcanal@igalia.com
Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>

authored by

Maíra Canal and committed by
Louis Chauvet
60ba9433 b83e8fe4

+5 -2
+5 -2
drivers/gpu/drm/vkms/tests/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 2 3 - obj-$(CONFIG_DRM_VKMS_KUNIT_TEST) += vkms_config_test.o 4 - obj-$(CONFIG_DRM_VKMS_KUNIT_TESTS) += vkms_format_test.o 3 + vkms-kunit-tests-y := \ 4 + vkms_config_test.o \ 5 + vkms_format_test.o 6 + 7 + obj-$(CONFIG_DRM_VKMS_KUNIT_TEST) += vkms-kunit-tests.o