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>
13 files changed:
--- /dev/null
+CONFIG_NOTIFIER_ERROR_INJECTION=y
+CONFIG_CPU_NOTIFIER_ERROR_INJECT=m
--- /dev/null
+CONFIG_TEST_FIRMWARE=y
--- /dev/null
+CONFIG_FTRACE=y
--- /dev/null
+CONFIG_EXPERT=y
+CONFIG_CHECKPOINT_RESTORE=y
--- /dev/null
+CONFIG_MEMORY_HOTPLUG=y
+CONFIG_MEMORY_HOTPLUG_SPARSE=y
+CONFIG_NOTIFIER_ERROR_INJECTION=y
+CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
--- /dev/null
+CONFIG_USER_NS=y
+CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
--- /dev/null
+CONFIG_USER_NS=y
+CONFIG_BPF_SYSCALL=y
+CONFIG_TEST_BPF=m
--- /dev/null
+CONFIG_MISC_FILESYSTEMS=y
+CONFIG_PSTORE=y
+CONFIG_PSTORE_PMSG=y
+CONFIG_PSTORE_CONSOLE=y
--- /dev/null
+CONFIG_SECCOMP=y
+CONFIG_SECCOMP_FILTER=y
--- /dev/null
+CONFIG_TEST_STATIC_KEYS=m
--- /dev/null
+CONFIG_TEST_USER_COPY=m
--- /dev/null
+CONFIG_USERFAULTFD=y
--- /dev/null
+CONFIG_ZSMALLOC=y
+CONFIG_ZRAM=m