diff options
author | Bamvor Jian Zhang <bamvor.zhangjian@linaro.org> | 2016-01-08 08:27:33 +0100 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2016-02-25 17:47:52 +0100 |
commit | 8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8 (patch) | |
tree | 37fc8338e51f58eb72d2b97a58c9b6cddaccf217 /tools/testing/selftests/memory-hotplug | |
parent | selftests: breakpoint: add step_after_suspend_test (diff) | |
download | linux-8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8.tar.xz linux-8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8.zip |
selftests: create test-specific kconfig fragments
Create the config file in each directory of testcase which need
more kernel configuration than the default defconfig. User could
use these configs with merge_config.sh script:
Enable config for specific testcase:
(export ARCH=xxx #for cross compiling)
./scripts/kconfig/merge_config.sh .config \
tools/testing/selftests/xxx/config
Enable configs for all testcases:
(export ARCH=xxx #for cross compiling)
./scripts/kconfig/merge_config.sh .config \
tools/testing/selftests/*/config
Signed-off-by: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>
Reviewed-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/memory-hotplug')
-rw-r--r-- | tools/testing/selftests/memory-hotplug/config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config new file mode 100644 index 000000000000..2fde30191a47 --- /dev/null +++ b/tools/testing/selftests/memory-hotplug/config @@ -0,0 +1,4 @@ +CONFIG_MEMORY_HOTPLUG=y +CONFIG_MEMORY_HOTPLUG_SPARSE=y +CONFIG_NOTIFIER_ERROR_INJECTION=y +CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m |