Merge tag 'for-4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux...
[deliverable/linux.git] / tools / testing / selftests / Makefile
CommitLineData
66a01b96 1TARGETS = breakpoints
58c7be84
PE
2TARGETS += cpu-hotplug
3TARGETS += efivarfs
96e869d8
AM
4TARGETS += exec
5TARGETS += firmware
6TARGETS += ftrace
66a01b96 7TARGETS += kcmp
4f5ce5e8 8TARGETS += memfd
58c7be84 9TARGETS += memory-hotplug
db181ce0 10TARGETS += mount
96e869d8 11TARGETS += mqueue
a6f68034 12TARGETS += net
96e869d8 13TARGETS += powerpc
17afab1d 14TARGETS += ptrace
96e869d8
AM
15TARGETS += size
16TARGETS += sysctl
0bc4b0cf 17TARGETS += timers
3e2a4c18 18TARGETS += user
96e869d8
AM
19TARGETS += vm
20#Please keep the TARGETS list alphabetically sorted
274343ad 21
ddddda9b
SK
22TARGETS_HOTPLUG = cpu-hotplug
23TARGETS_HOTPLUG += memory-hotplug
24
67d8712d
SK
25# Clear LDFLAGS and MAKEFLAGS if called from main
26# Makefile to avoid test build failures when test
27# Makefile doesn't have explicit build rules.
28ifeq (1,$(MAKELEVEL))
29undefine LDFLAGS
30override MAKEFLAGS =
31endif
32
274343ad
FW
33all:
34 for TARGET in $(TARGETS); do \
35 make -C $$TARGET; \
36 done;
37
cab6b056 38run_tests: all
f467f714
FW
39 for TARGET in $(TARGETS); do \
40 make -C $$TARGET run_tests; \
41 done;
42
ddddda9b
SK
43hotplug:
44 for TARGET in $(TARGETS_HOTPLUG); do \
45 make -C $$TARGET; \
46 done;
47
48run_hotplug: hotplug
49 for TARGET in $(TARGETS_HOTPLUG); do \
50 make -C $$TARGET run_full_test; \
51 done;
52
53clean_hotplug:
54 for TARGET in $(TARGETS_HOTPLUG); do \
55 make -C $$TARGET clean; \
56 done;
57
274343ad
FW
58clean:
59 for TARGET in $(TARGETS); do \
60 make -C $$TARGET clean; \
61 done;
This page took 0.177428 seconds and 5 git commands to generate.