]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - tools/testing/selftests/timers/Makefile
selftests/timers: Add adjtimex validation test from timetest suite
[mirror_ubuntu-artful-kernel.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 \
de52133f 6 set-timer-lat threadtest mqueue-lat valid-adjtimex
03438212
JS
7
8all: ${bins}
0bc4b0cf 9
de52133f
JS
10# these are all "safe" tests that don't modify
11# system time or require escalated privledges
0bc4b0cf
FW
12run_tests: all
13 ./posix_timers
689f32fb 14 ./nanosleep
c5fffcb2 15 ./nsleep-lat
4e40d0a2 16 ./set-timer-lat
274d631e 17 ./mqueue-lat
ed3fe34a 18 ./inconsistency-check
51f91cbd 19 ./raw_skew
e39b60f3 20 ./threadtest -t 30 -n 8
de52133f
JS
21
22# these tests require escalated privledges
23# and may modify the system time or trigger
24# other behavior like suspend
25run_destructive_tests: all
26 ./valid-adjtimex
27
0bc4b0cf 28clean:
03438212 29 rm -f ${bins}