mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-29 15:14:18 +08:00
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>
This commit is contained in:
parent
bfd092b8c2
commit
8c749ce93e
2
tools/testing/selftests/cpu-hotplug/config
Normal file
2
tools/testing/selftests/cpu-hotplug/config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_NOTIFIER_ERROR_INJECTION=y
|
||||
CONFIG_CPU_NOTIFIER_ERROR_INJECT=m
|
1
tools/testing/selftests/firmware/config
Normal file
1
tools/testing/selftests/firmware/config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_TEST_FIRMWARE=y
|
1
tools/testing/selftests/ftrace/config
Normal file
1
tools/testing/selftests/ftrace/config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_FTRACE=y
|
2
tools/testing/selftests/ipc/config
Normal file
2
tools/testing/selftests/ipc/config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_EXPERT=y
|
||||
CONFIG_CHECKPOINT_RESTORE=y
|
4
tools/testing/selftests/memory-hotplug/config
Normal file
4
tools/testing/selftests/memory-hotplug/config
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG_MEMORY_HOTPLUG=y
|
||||
CONFIG_MEMORY_HOTPLUG_SPARSE=y
|
||||
CONFIG_NOTIFIER_ERROR_INJECTION=y
|
||||
CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
|
2
tools/testing/selftests/mount/config
Normal file
2
tools/testing/selftests/mount/config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
|
3
tools/testing/selftests/net/config
Normal file
3
tools/testing/selftests/net/config
Normal file
@ -0,0 +1,3 @@
|
||||
CONFIG_USER_NS=y
|
||||
CONFIG_BPF_SYSCALL=y
|
||||
CONFIG_TEST_BPF=m
|
4
tools/testing/selftests/pstore/config
Normal file
4
tools/testing/selftests/pstore/config
Normal file
@ -0,0 +1,4 @@
|
||||
CONFIG_MISC_FILESYSTEMS=y
|
||||
CONFIG_PSTORE=y
|
||||
CONFIG_PSTORE_PMSG=y
|
||||
CONFIG_PSTORE_CONSOLE=y
|
2
tools/testing/selftests/seccomp/config
Normal file
2
tools/testing/selftests/seccomp/config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_SECCOMP=y
|
||||
CONFIG_SECCOMP_FILTER=y
|
1
tools/testing/selftests/static_keys/config
Normal file
1
tools/testing/selftests/static_keys/config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_TEST_STATIC_KEYS=m
|
1
tools/testing/selftests/user/config
Normal file
1
tools/testing/selftests/user/config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_TEST_USER_COPY=m
|
1
tools/testing/selftests/vm/config
Normal file
1
tools/testing/selftests/vm/config
Normal file
@ -0,0 +1 @@
|
||||
CONFIG_USERFAULTFD=y
|
2
tools/testing/selftests/zram/config
Normal file
2
tools/testing/selftests/zram/config
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_ZSMALLOC=y
|
||||
CONFIG_ZRAM=m
|
Loading…
Reference in New Issue
Block a user