Re: [PATCH v4 2/6] kunit: add KUNIT_INIT_TABLE to init linker section

2023-12-12 Thread David Gow
On Wed, 13 Dec 2023 at 09:02, Rae Moar wrote: > > Add KUNIT_INIT_TABLE to the INIT_DATA linker section. > > Alter the KUnit macros to create init tests: > kunit_test_init_section_suites > > Update lib/kunit/executor.c to run both the suites in KUNIT_TABLE and > KUNIT_INIT_TABLE. > > Signed-off-by:

[PATCH v4 2/6] kunit: add KUNIT_INIT_TABLE to init linker section

2023-12-12 Thread Rae Moar
Add KUNIT_INIT_TABLE to the INIT_DATA linker section. Alter the KUnit macros to create init tests: kunit_test_init_section_suites Update lib/kunit/executor.c to run both the suites in KUNIT_TABLE and KUNIT_INIT_TABLE. Signed-off-by: Rae Moar --- Changes since v3: - Add to comments in test.h for