]> git.karo-electronics.de Git - karo-tx-linux.git/blob - tools/testing/selftests/Makefile
Merge remote-tracking branches 'regulator/fix/doc' and 'regulator/fix/tps65090' into...
[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
18 TARGETS_HOTPLUG = cpu-hotplug
19 TARGETS_HOTPLUG += memory-hotplug
20
21 all:
22         for TARGET in $(TARGETS); do \
23                 make -C $$TARGET; \
24         done;
25
26 run_tests: all
27         for TARGET in $(TARGETS); do \
28                 make -C $$TARGET run_tests; \
29         done;
30
31 hotplug:
32         for TARGET in $(TARGETS_HOTPLUG); do \
33                 make -C $$TARGET; \
34         done;
35
36 run_hotplug: hotplug
37         for TARGET in $(TARGETS_HOTPLUG); do \
38                 make -C $$TARGET run_full_test; \
39         done;
40
41 clean_hotplug:
42         for TARGET in $(TARGETS_HOTPLUG); do \
43                 make -C $$TARGET clean; \
44         done;
45
46 clean:
47         for TARGET in $(TARGETS); do \
48                 make -C $$TARGET clean; \
49         done;