Commit 254c7137 authored by Brendan Higgins's avatar Brendan Higgins Committed by Shuah Khan

kunit: fix kunit_test_init_section_suites(...)

Looks like kunit_test_init_section_suites(...) was messed up in a merge
conflict. This fixes it.

kunit_test_init_section_suites(...) was not updated to avoid the extra
level of indirection when .kunit_test_suites was flattened. Given no-one
was actively using it, this went unnoticed for a long period of time.

Fixes: e5857d39 ("kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites")
Signed-off-by: default avatarBrendan Higgins <brendan.higgins@linux.dev>
Signed-off-by: default avatarDavid Gow <davidgow@google.com>
Tested-by: default avatarMartin Fernandez <martin.fernandez@eclypsium.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent dd2f0a0a
......@@ -303,7 +303,6 @@ static inline int kunit_run_all_tests(void)
*/
#define kunit_test_init_section_suites(__suites...) \
__kunit_test_suites(CONCATENATE(__UNIQUE_ID(array), _probe), \
CONCATENATE(__UNIQUE_ID(suites), _probe), \
##__suites)
#define kunit_test_init_section_suite(suite) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment