linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/todo: Add entry for converting kselftests to kunit
@ 2022-05-09 13:08 Javier Martinez Canillas
  2022-05-09 13:48 ` Maxime Ripard
  2022-05-11 10:03 ` Javier Martinez Canillas
  0 siblings, 2 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2022-05-09 13:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: Javier Martinez Canillas, Maxime Ripard, Daniel Vetter,
	David Airlie, Jonathan Corbet, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, dri-devel, linux-doc

Many of the kselftests in DRM can be converted to kunit tests instead,
since that framework is more suitable for unit testing.

Suggested-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
---

 Documentation/gpu/todo.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst
index 10bfb50908d1..513b20ccef1e 100644
--- a/Documentation/gpu/todo.rst
+++ b/Documentation/gpu/todo.rst
@@ -617,6 +617,17 @@ Contact: Javier Martinez Canillas <javierm@redhat.com>
 
 Level: Intermediate
 
+Convert Kernel Selftests (kselftest) to KUnit tests when appropriate
+--------------------------------------------------------------------
+
+Many of the `Kselftest <https://www.kernel.org/doc/html/latest/dev-tools/kselftest.html>`_
+tests in DRM could be converted to Kunit tests instead, since that framework
+is more suitable for unit testing.
+
+Contact: Javier Martinez Canillas <javierm@redhat.com>
+
+Level: Starter
+
 Enable trinity for DRM
 ----------------------
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/todo: Add entry for converting kselftests to kunit
  2022-05-09 13:08 [PATCH] drm/todo: Add entry for converting kselftests to kunit Javier Martinez Canillas
@ 2022-05-09 13:48 ` Maxime Ripard
  2022-05-11 10:03 ` Javier Martinez Canillas
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Ripard @ 2022-05-09 13:48 UTC (permalink / raw)
  To: Javier Martinez Canillas
  Cc: linux-kernel, Daniel Vetter, David Airlie, Jonathan Corbet,
	Maarten Lankhorst, Thomas Zimmermann, dri-devel, linux-doc

[-- Attachment #1: Type: text/plain, Size: 384 bytes --]

On Mon, May 09, 2022 at 03:08:46PM +0200, Javier Martinez Canillas wrote:
> Many of the kselftests in DRM can be converted to kunit tests instead,
> since that framework is more suitable for unit testing.
> 
> Suggested-by: Maxime Ripard <maxime@cerno.tech>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>

Acked-by: Maxime Ripard <maxime@cerno.tech>

Maxime

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] drm/todo: Add entry for converting kselftests to kunit
  2022-05-09 13:08 [PATCH] drm/todo: Add entry for converting kselftests to kunit Javier Martinez Canillas
  2022-05-09 13:48 ` Maxime Ripard
@ 2022-05-11 10:03 ` Javier Martinez Canillas
  1 sibling, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2022-05-11 10:03 UTC (permalink / raw)
  To: linux-kernel
  Cc: Maxime Ripard, Daniel Vetter, David Airlie, Jonathan Corbet,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, dri-devel,
	linux-doc

On 5/9/22 15:08, Javier Martinez Canillas wrote:
> Many of the kselftests in DRM can be converted to kunit tests instead,
> since that framework is more suitable for unit testing.
> 
> Suggested-by: Maxime Ripard <maxime@cerno.tech>
> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
> ---

Pushed this to drm-misc (drm-misc-next).

-- 
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-11 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 13:08 [PATCH] drm/todo: Add entry for converting kselftests to kunit Javier Martinez Canillas
2022-05-09 13:48 ` Maxime Ripard
2022-05-11 10:03 ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).