aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/Makefile')
-rw-r--r--tools/testing/selftests/Makefile18
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
13TARGETS += sysctl 13TARGETS += sysctl
14TARGETS += firmware 14TARGETS += firmware
15 15
16TARGETS_HOTPLUG = cpu-hotplug
17TARGETS_HOTPLUG += memory-hotplug
18
16all: 19all:
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
29hotplug:
30 for TARGET in $(TARGETS_HOTPLUG); do \
31 make -C $$TARGET; \
32 done;
33
34run_hotplug: hotplug
35 for TARGET in $(TARGETS_HOTPLUG); do \
36 make -C $$TARGET run_full_test; \
37 done;
38
39clean_hotplug:
40 for TARGET in $(TARGETS_HOTPLUG); do \
41 make -C $$TARGET clean; \
42 done;
43
26clean: 44clean:
27 for TARGET in $(TARGETS); do \ 45 for TARGET in $(TARGETS); do \
28 make -C $$TARGET clean; \ 46 make -C $$TARGET clean; \