summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/cpu-hotplug
diff options
context:
space:
mode:
authorBamvor Jian Zhang <bamvor.zhangjian@linaro.org>2016-01-08 08:27:33 +0100
committerShuah Khan <shuahkh@osg.samsung.com>2016-02-25 17:47:52 +0100
commit8c749ce93ee69e789e46b3be98de9e0cbfcf8ed8 (patch)
tree37fc8338e51f58eb72d2b97a58c9b6cddaccf217 /tools/testing/selftests/cpu-hotplug
parentselftests: breakpoint: add step_after_suspend_test (diff)
downloadlinux-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/cpu-hotplug')
-rw-r--r--tools/testing/selftests/cpu-hotplug/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/cpu-hotplug/config b/tools/testing/selftests/cpu-hotplug/config
new file mode 100644
index 000000000000..e6ab090cfbf3
--- /dev/null
+++ b/tools/testing/selftests/cpu-hotplug/config
@@ -0,0 +1,2 @@
+CONFIG_NOTIFIER_ERROR_INJECTION=y
+CONFIG_CPU_NOTIFIER_ERROR_INJECT=m