diff options
| author | Maíra Canal <mcanal@igalia.com> | 2025-06-11 17:56:49 -0300 |
|---|---|---|
| committer | Louis Chauvet <louis.chauvet@bootlin.com> | 2025-06-13 19:11:39 +0200 |
| commit | 60ba94338047bb5410a3626ced3380afe9285ed8 (patch) | |
| tree | 6e27a910f122b09e68f8d05f31aebd162cd2d69c | |
| parent | b83e8fe4fae981d35a362109053b7447ebd037d4 (diff) | |
| download | linux-60ba94338047bb5410a3626ced3380afe9285ed8.tar.gz linux-60ba94338047bb5410a3626ced3380afe9285ed8.zip | |
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>
| -rw-r--r-- | drivers/gpu/drm/vkms/tests/Makefile | 7 |
1 files 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 |
