selftests/timers: Add alarmtimer-suspend test from timetests suite
[deliverable/linux.git] / tools / testing / selftests / timers / Makefile
CommitLineData
03438212
JS
1CC = $(CROSS_COMPILE)gcc
2BUILD_FLAGS = -DKTEST
3CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4LDFLAGS += -lrt -lpthread
4e40d0a2 5bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
b7bb8442
JS
6 set-timer-lat threadtest mqueue-lat valid-adjtimex \
7 alarmtimer-suspend
03438212
JS
8
9all: ${bins}
0bc4b0cf 10
de52133f
JS
11# these are all "safe" tests that don't modify
12# system time or require escalated privledges
0bc4b0cf
FW
13run_tests: all
14 ./posix_timers
689f32fb 15 ./nanosleep
c5fffcb2 16 ./nsleep-lat
4e40d0a2 17 ./set-timer-lat
274d631e 18 ./mqueue-lat
ed3fe34a 19 ./inconsistency-check
51f91cbd 20 ./raw_skew
e39b60f3 21 ./threadtest -t 30 -n 8
de52133f
JS
22
23# these tests require escalated privledges
24# and may modify the system time or trigger
25# other behavior like suspend
b7bb8442
JS
26run_destructive_tests: run_tests
27 ./alarmtimer-suspend
de52133f
JS
28 ./valid-adjtimex
29
0bc4b0cf 30clean:
03438212 31 rm -f ${bins}
This page took 0.098409 seconds and 5 git commands to generate.