First Contributions for KUnit

From: Artur A C de Barros
Date: Mon May 20 2024 - 11:10:00 EST


Hi all,

We are students from the State University of Campinas with an interest in contributing to the kernel. We are part of LKCAMP, a student group that focuses on researching and contributing to open source software. Our group has organized kernel hackathons in the past [1] that resulted in sucessful contributions, and we would like to continue the effort this year.

This time, we were thinking about writing KUnit tests for data structures in `lib/` (or converting existing lib test code), similarly to our previous hackathon. We are currently considering a few candidates:

- lib/kfifo.c
- lib/llist.c
- tools/testing/scatterlist
- tools/testing/radix-tree

We would like to know if these are good candidates, and also ask for suggestions of other code that could benefit from having KUnit tests.

Thanks!
Artur Alves

[1] https://lore.kernel.org/dri-devel/20211011152333.gm5jkaog6b6nbv5w@notapiano/