diff options
author | Shuah Khan <shuahkh@osg.samsung.com> | 2015-06-19 15:13:43 -0400 |
---|---|---|
committer | Shuah Khan <shuahkh@osg.samsung.com> | 2015-06-23 09:20:16 -0400 |
commit | 2278e5ed9f36baca7c972ed17aae7467ca91b2b9 (patch) | |
tree | 3ad6957d4fc342448e6a0ba952a946fd07a830a1 | |
parent | c99ee51a9d9716fe33f5022c763728a565e3bd08 (diff) |
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: Shuah Khan <shuahkh@osg.samsung.com>
-rw-r--r-- | tools/testing/selftests/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 7474b7d9f4be..24ae9e829e9a 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile | |||
@@ -16,11 +16,15 @@ TARGETS += ptrace | |||
16 | TARGETS += seccomp | 16 | TARGETS += seccomp |
17 | TARGETS += size | 17 | TARGETS += size |
18 | TARGETS += sysctl | 18 | TARGETS += sysctl |
19 | ifneq (1, $(quicktest)) | ||
19 | TARGETS += timers | 20 | TARGETS += timers |
21 | endif | ||
20 | TARGETS += user | 22 | TARGETS += user |
21 | TARGETS += vm | 23 | TARGETS += vm |
22 | TARGETS += x86 | 24 | TARGETS += x86 |
23 | #Please keep the TARGETS list alphabetically sorted | 25 | #Please keep the TARGETS list alphabetically sorted |
26 | # Run "make quicktest=1 run_tests" or | ||
27 | # "make quicktest=1 kselftest from top level Makefile | ||
24 | 28 | ||
25 | TARGETS_HOTPLUG = cpu-hotplug | 29 | TARGETS_HOTPLUG = cpu-hotplug |
26 | TARGETS_HOTPLUG += memory-hotplug | 30 | TARGETS_HOTPLUG += memory-hotplug |