Skip to contentSkip to conversation

drm/todo: Add entry for converting kselftests to kunit

PATCH In review Javier Martinez Canillas 2 participants 3 messages May 9, 2022 – May 11, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/todo: Add entry for converting kselftests to kunit

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

---

 Documentation/gpu/todo.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
Documentation/gpu/todo.rst +11 -0
index 10bfb50908d1..513b20ccef1e 100644
@@ -617,6 +617,17 @@ Contact: Javier Martinez Canillas <[email protected]>
 
 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 <[email protected]>
+
+Level: Starter
+
 Enable trinity for DRM
 ----------------------
 
Signature · 1 line
2.35.1
#2 lore raw
In reply to Javier Martinez Canillas
Quoted 6 lines · Javier Martinez Canillas

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

---

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

Signature · 5 lines
Best regards,

Javier Martinez Canillas
Linux Engineering
Red Hat