Re: [PATCH v3 0/1] Add KUnit tests for llist

2024-09-20 Thread Artur Alves Cavalcante de Barros
On 9/20/24 12:10 PM, Shuah Khan wrote: On 9/20/24 01:10, David Gow wrote: On Fri, 20 Sept 2024 at 00:01, Shuah Khan wrote: On 9/16/24 18:51, Artur Alves wrote: Hi all, This is part of a hackathon organized by LKCAMP[1], focused on writing tests using KUnit. We reached out a while ago

Re: [PATCH v3 0/1] Add KUnit tests for llist

2024-09-20 Thread Artur Alves Cavalcante de Barros
On 9/20/24 4:10 AM, David Gow wrote: On Fri, 20 Sept 2024 at 00:01, Shuah Khan wrote: On 9/16/24 18:51, Artur Alves wrote: Hi all, This is part of a hackathon organized by LKCAMP[1], focused on writing tests using KUnit. We reached out a while ago asking for advice on what would be a useful

Re: [PATCH v3 0/1] Add KUnit tests for llist

2024-09-19 Thread Artur Alves Cavalcante de Barros
On 9/19/24 1:01 PM, Shuah Khan wrote: On 9/16/24 18:51, Artur Alves wrote: Hi all, This is part of a hackathon organized by LKCAMP[1], focused on writing tests using KUnit. We reached out a while ago asking for advice on what would be a useful contribution[2] and ended up choosing data

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

2024-09-16 Thread Artur Alves
tion/macro 'x'. Signed-off-by: Artur Alves --- lib/Kconfig.debug | 11 ++ lib/tests/Makefile | 1 + lib/tests/llist_kunit.c | 358 3 files changed, 370 insertions(+) create mode 100644 lib/tests/llist_kunit.c diff --git a/lib

[PATCH v3 0/1] Add KUnit tests for llist

2024-09-16 Thread Artur Alves
tests from lib/llist_kunit.c to lib/tests/llist_kunit.c - Change the license from "GPL v2" to "GPL" Artur Alves (1): lib/llist_kunit.c: add KUnit tests for llist lib/Kconfig.debug | 11 ++ lib/tests/Makefile | 1 + lib/tests/llist_kunit.c | 358 +

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 lin

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

2024-09-03 Thread Artur Alves
t function/macro 'x'. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/lib/list-test.c?h=v6.11-rc6 Signed-off-by: Artur Alves --- lib/Kconfig.debug | 11 ++ lib/tests/Makefile | 1 + lib/tests/llist_kunit.c | 361 +

[PATCH v2 0/1] Add KUnit tests for llist

2024-09-03 Thread Artur Alves
/tests/llist_kunit.c - Change the license from "GPL v2" to "GPL" Artur Alves (1): lib/llist_kunit.c: add KUnit tests for llist lib/Kconfig.debug | 11 ++ lib/tests/Makefile | 1 + lib/tests/llist_kunit.c | 361