diff options
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r-- | tools/testing/selftests/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 5c2bf8ec18f3..d10f95ce2ea4 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile | |||
@@ -13,6 +13,9 @@ TARGETS += user | |||
13 | TARGETS += sysctl | 13 | TARGETS += sysctl |
14 | TARGETS += firmware | 14 | TARGETS += firmware |
15 | 15 | ||
16 | TARGETS_HOTPLUG = cpu-hotplug | ||
17 | TARGETS_HOTPLUG += memory-hotplug | ||
18 | |||
16 | all: | 19 | all: |
17 | for TARGET in $(TARGETS); do \ | 20 | for TARGET in $(TARGETS); do \ |
18 | make -C $$TARGET; \ | 21 | make -C $$TARGET; \ |
@@ -23,6 +26,21 @@ run_tests: all | |||
23 | make -C $$TARGET run_tests; \ | 26 | make -C $$TARGET run_tests; \ |
24 | done; | 27 | done; |
25 | 28 | ||
29 | hotplug: | ||
30 | for TARGET in $(TARGETS_HOTPLUG); do \ | ||
31 | make -C $$TARGET; \ | ||
32 | done; | ||
33 | |||
34 | run_hotplug: hotplug | ||
35 | for TARGET in $(TARGETS_HOTPLUG); do \ | ||
36 | make -C $$TARGET run_full_test; \ | ||
37 | done; | ||
38 | |||
39 | clean_hotplug: | ||
40 | for TARGET in $(TARGETS_HOTPLUG); do \ | ||
41 | make -C $$TARGET clean; \ | ||
42 | done; | ||
43 | |||
26 | clean: | 44 | clean: |
27 | for TARGET in $(TARGETS); do \ | 45 | for TARGET in $(TARGETS); do \ |
28 | make -C $$TARGET clean; \ | 46 | make -C $$TARGET clean; \ |