提交 2278e5ed 编写于 作者: S Shuah Khan

selftests: add quicktest support

Add quicktest support to enable users to choose to run
tests that complete in a short time. Choosing this option
excludes tests that take longer time complete e.g: timers.
User can specify quicktest option from kernel top level or
selftests directory.

Kernel top level directory:
make quicktest=1 kselftest

tools/testing/selftests directory:
make quicktest=1 run_tests
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 c99ee51a
...@@ -16,11 +16,15 @@ TARGETS += ptrace ...@@ -16,11 +16,15 @@ TARGETS += ptrace
TARGETS += seccomp TARGETS += seccomp
TARGETS += size TARGETS += size
TARGETS += sysctl TARGETS += sysctl
ifneq (1, $(quicktest))
TARGETS += timers TARGETS += timers
endif
TARGETS += user TARGETS += user
TARGETS += vm TARGETS += vm
TARGETS += x86 TARGETS += x86
#Please keep the TARGETS list alphabetically sorted #Please keep the TARGETS list alphabetically sorted
# Run "make quicktest=1 run_tests" or
# "make quicktest=1 kselftest from top level Makefile
TARGETS_HOTPLUG = cpu-hotplug TARGETS_HOTPLUG = cpu-hotplug
TARGETS_HOTPLUG += memory-hotplug TARGETS_HOTPLUG += memory-hotplug
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册