]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/testing/selftests/Makefile
Merge tag 'kselftest-3.18-updates-1' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / tools / testing / selftests / Makefile
1 TARGETS = breakpoints
2 TARGETS += cpu-hotplug
3 TARGETS += efivarfs
4 TARGETS += kcmp
5 TARGETS += memfd
6 TARGETS += memory-hotplug
7 TARGETS += mqueue
8 TARGETS += mount
9 TARGETS += net
10 TARGETS += ptrace
11 TARGETS += timers
12 TARGETS += vm
13 TARGETS += powerpc
14 TARGETS += user
15 TARGETS += sysctl
16 TARGETS += firmware
17 TARGETS += ftrace
18
19 TARGETS_HOTPLUG = cpu-hotplug
20 TARGETS_HOTPLUG += memory-hotplug
21
22 all:
23         for TARGET in $(TARGETS); do \
24                 make -C $$TARGET; \
25         done;
26
27 run_tests: all
28         for TARGET in $(TARGETS); do \
29                 make -C $$TARGET run_tests; \
30         done;
31
32 hotplug:
33         for TARGET in $(TARGETS_HOTPLUG); do \
34                 make -C $$TARGET; \
35         done;
36
37 run_hotplug: hotplug
38         for TARGET in $(TARGETS_HOTPLUG); do \
39                 make -C $$TARGET run_full_test; \
40         done;
41
42 clean_hotplug:
43         for TARGET in $(TARGETS_HOTPLUG); do \
44                 make -C $$TARGET clean; \
45         done;
46
47 clean:
48         for TARGET in $(TARGETS); do \
49                 make -C $$TARGET clean; \
50         done;