Re: [PATCH v2 01/41] drm/tests: Order Kunit tests in Makefile

From: Noralf Trønnes
Date: Mon Aug 29 2022 - 14:47:00 EST




Den 29.08.2022 15.11, skrev Maxime Ripard:
> Since we've recently added a ton of tests, the list starts to be a bit
>
> of a mess and creates unneeded conflicts.
>
>
>
> Let's order it alphabetically.
>
>
>
> Signed-off-by: Maxime Ripard <maxime@xxxxxxxxxx>
>
>
>

Something has gone wrong with this patchset, there are double line endings.

I looked at the patchwork version and it look all right there so I
figured it might have fixed up the patches, but it failed:

git apply -v --check
/home/pi/tinydrm.gud-gadget/workdirs/tv_norm_gadget/500003.patch
Checking patch drivers/gpu/drm/tests/Makefile...
error: while searching for:
# SPDX-License-Identifier: GPL-2.0?
?
obj-$(CONFIG_DRM_KUNIT_TEST) += drm_format_helper_test.o
drm_damage_helper_test.o \?
drm_cmdline_parser_test.o drm_rect_test.o drm_format_test.o
drm_plane_helper_test.o \?
drm_dp_mst_helper_test.o drm_framebuffer_test.o drm_buddy_test.o
drm_mm_test.o?

error: patch failed: drivers/gpu/drm/tests/Makefile:1
error: drivers/gpu/drm/tests/Makefile: patch does not apply

ERROR: Failed check apply patch

pi@build-server:~/tinydrm.gud-gadget$ file
workdirs/tv_norm_gadget/500003.patch
workdirs/tv_norm_gadget/500003.patch: unified diff output, ASCII text,
with CRLF, LF line terminators

Noralf.

> diff --git a/drivers/gpu/drm/tests/Makefile b/drivers/gpu/drm/tests/Makefile
>
> index 91b70f7d2769..2d9f49b62ecb 100644
>
> --- a/drivers/gpu/drm/tests/Makefile
>
> +++ b/drivers/gpu/drm/tests/Makefile
>
> @@ -1,5 +1,13 @@
>
> # SPDX-License-Identifier: GPL-2.0
>
>
>
> -obj-$(CONFIG_DRM_KUNIT_TEST) += drm_format_helper_test.o drm_damage_helper_test.o \
>
> - drm_cmdline_parser_test.o drm_rect_test.o drm_format_test.o drm_plane_helper_test.o \
>
> - drm_dp_mst_helper_test.o drm_framebuffer_test.o drm_buddy_test.o drm_mm_test.o
>
> +obj-$(CONFIG_DRM_KUNIT_TEST) += \
>
> + drm_buddy_test.o \
>
> + drm_cmdline_parser_test.o \
>
> + drm_damage_helper_test.o \
>
> + drm_dp_mst_helper_test.o \
>
> + drm_format_helper_test.o \
>
> + drm_format_test.o \
>
> + drm_framebuffer_test.o \
>
> + drm_mm_test.o \
>
> + drm_plane_helper_test.o \
>
> + drm_rect_test.o
>
>
>