linux-next: build failure after merge of the kunit-fixes tree
Hi all,
After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:
lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(struct kunit_suite * const * const subsuite,
| ^
lib/kunit/executor.c: At top level:
lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory
140 | #include "executor_test.c"
| ^~~~~~~~~~~~~~~~~Caused by commit
c9d80ffc5a0a ("kunit: add unit test for filtering suites by names")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 14 lines · Stephen Rothwell
Hi all,
After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:
lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(structkunit_suite* const * const subsuite,| ^ lib/kunit/executor.c: At top level: lib/kunit/executor.c:140:10: fatal error: executor_test.c: No such file or directory 140 | #include "executor_test.c" | ^~~~~~~~~~~~~~~~~
Quoted 3 lines
Caused by commit
c9d80ffc5a0a("kunit: add unit test for filtering suites by names")
For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/
Quoted 4 lines
--
Cheers,
Stephen Rothwell
Quoted 15 lines · Daniel Latypov
Quoted 14 lines · Stephen Rothwell
Hi all,
After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:
lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(structkunit_suite* const * const subsuite,
| ^lib/kunit/executor.c: At top level:lib/kunit/executor.c:140:10: fatal error:executor_test.c: No such file or directory
140 | #include "executor_test.c"| ^~~~~~~~~~~~~~~~~
Quoted 7 lines
Quoted 3 lines
Caused by commit
c9d80ffc5a0a("kunit: add unit test for filtering suites by names")For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/
It is all fixed now. When I applied this patch yesterday, I needed to fix merge conflicts. When I did that the newly added file was left behind.
Build didn't find it since the file was in the repo. Oh well. So much for trying to save you a rebase.
Sorry for the trouble. It should all be squared away now. Build and exec tested it for sanity.
thanks,
-- Shuah
Quoted 29 lines · Shuah Khan
Quoted 15 lines · Daniel Latypov
Quoted 14 lines · Stephen Rothwell
Hi all,
After merging the kunit-fixes tree, today's linux-next build (powerpc allyesconfig) failed like this:
lib/kunit/executor.c:26:1: error: expected identifier or '(' before '+' token
26 | +kunit_filter_subsuite(structkunit_suite* const * const subsuite,
| ^lib/kunit/executor.c: At top level:lib/kunit/executor.c:140:10: fatal error:executor_test.c: No such file or directory
140 | #include "executor_test.c"| ^~~~~~~~~~~~~~~~~Quoted 7 lines
Quoted 3 lines
Caused by commit
c9d80ffc5a0a("kunit: add unit test for filtering suites by names")For posterity, David sent out a patch addressing this here:
https://lore.kernel.org/linux-kselftest/[email protected]/It is all fixed now. When I applied this patch yesterday, I needed to fix merge conflicts. When I did that the newly added file was left behind.
Quoted 7 lines
Build didn't find it since the file was in the repo. Oh well. So much for trying to save you a rebase.
Sorry for the trouble. It should all be squared away now. Build and exec tested it for sanity.
I just pulled and tested and can confirm it is working for me now.
Thanks!