selftests/timers: Add mqueue latency test from the timetest suite
[cascardo/linux.git] / tools / testing / selftests / timers / Makefile
1 CC = $(CROSS_COMPILE)gcc
2 BUILD_FLAGS = -DKTEST
3 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4 LDFLAGS += -lrt -lpthread
5 bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
6         set-timer-lat threadtest mqueue-lat
7
8 all: ${bins}
9
10 run_tests: all
11         ./posix_timers
12         ./nanosleep
13         ./nsleep-lat
14         ./set-timer-lat
15         ./mqueue-lat
16         ./inconsistency-check
17         ./raw_skew
18         ./threadtest -t 30 -n 8
19 clean:
20         rm -f ${bins}