On Thu, 2015-12-24 at 18:17 +0800, Bamvor Zhang Jian wrote:
On 12/18/2015 07:44 AM, Michael Ellerman wrote:
quoted
On Thu, 2015-12-17 at 17:57 +0800, Bamvor Jian Zhang wrote:
quoted
There is a discussion about improving the usability of kselftest by
creating test-specific kconfig in recent kernel Summit.
Patch 1 keep test-specific kconfig fragments inside each selftest so
that merge_configs.sh could build up a kernel that can test the
specific or all feature(s).
Patch 2 add config option(kselftest-mergeconfig) in make file as a
helper to merge all the test config dependecies to .config.
Changes since v2:
1. Fix the misuse of objtree and srctree in the
kselftest-mergeconfig target.
Changes since v1:
1. Add kselftest-mergeconfig in scripts/kconfig/Makefile according
to the suggestion from Michael.
Sorry I only just noticed you put it in scripts/kconfig/Makefile. I meant for
it to go in Makefile, alongside the other kselftest targets.
Do you mean "tools/testing/selftest/Makefile"? I try to do it but I could not
get the objtree and srctree if it is called directly(objtree and srctree is
defined in toplevel Makefile)
No I meant Makefile, the very top level Makefile.
There is already a kselftest target in there (line 1077), I meant we would add
a kselftest-mergeconfig target in there.
cheers