Files
kernel/include/linux
Daniel Latypov e5857d396f kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites
We currently store kunit suites in the .kunit_test_suites ELF section as
a `struct kunit_suite***` (modulo some `const`s).
For every test file, we store a struct kunit_suite** NULL-terminated array.

This adds quite a bit of complexity to the test filtering code in the
executor.

Instead, let's just make the .kunit_test_suites section contain a single
giant array of struct kunit_suite pointers, which can then be directly
manipulated. This array is not NULL-terminated, and so none of the test
filtering code needs to NULL-terminate anything.

Tested-by: Maíra Canal <maira.canal@usp.br>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Co-developed-by: David Gow <davidgow@google.com>
Signed-off-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-07-11 17:13:15 -06:00
..
2022-05-10 16:03:52 +08:00
2022-05-22 20:44:29 +01:00
2022-05-20 15:29:00 -07:00
2022-05-16 13:37:59 -07:00
2022-06-03 06:52:57 -07:00
2022-05-13 07:20:18 -07:00
2022-05-02 14:06:20 -06:00
2022-05-03 16:09:03 -04:00
2022-05-19 14:08:53 -07:00
2022-05-13 07:20:17 -07:00
2022-05-17 13:32:46 -04:00
2022-07-01 16:38:35 -06:00
2022-05-22 21:03:01 +01:00
2022-06-02 10:15:05 -07:00
2022-05-08 01:33:08 -07:00
2022-05-24 08:41:18 -06:00
2022-05-31 12:45:10 -04:00