Re: [PATCH v2 1/1] lib/llist_kunit.c: add KUnit tests for llist

2024-09-09 Thread Artur Alves Cavalcante de Barros
On 9/5/24 5:51 PM, Rae Moar wrote: On Tue, Sep 3, 2024 at 5:40 PM Artur Alves wrote: Add KUnit tests for the llist data structure. They test the vast majority of methods and macros defined in include/linux/llist.h. These are inspired by the existing tests for the 'list' doubly linked in lib/l

Re: [PATCH v2 1/1] lib/llist_kunit.c: add KUnit tests for llist

2024-09-05 Thread Rae Moar
On Tue, Sep 3, 2024 at 5:40 PM Artur Alves wrote: > > Add KUnit tests for the llist data structure. They test the vast > majority of methods and macros defined in include/linux/llist.h. > > These are inspired by the existing tests for the 'list' doubly > linked in lib/list-test.c [1]. Each test ca

[PATCH v2 1/1] lib/llist_kunit.c: add KUnit tests for llist

2024-09-03 Thread Artur Alves
Add KUnit tests for the llist data structure. They test the vast majority of methods and macros defined in include/linux/llist.h. These are inspired by the existing tests for the 'list' doubly linked in lib/list-test.c [1]. Each test case (llist_test_x) tests the behaviour of the llist function/ma