timers, kselftest: Add 'adjtick' test to validate adjtimex() tick adjustments
[linux-2.6-block.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
0bc4b0cf 5
de52133f
JS
6# these are all "safe" tests that don't modify
7# system time or require escalated privledges
5744de54 8TEST_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
4a5fd815 9 inconsistency-check raw_skew threadtest rtctest
5744de54 10
6035519f 11TEST_PROGS_EXTENDED = alarmtimer-suspend valid-adjtimex adjtick change_skew \
5744de54
ME
12 skew_consistency clocksource-switch leap-a-day \
13 leapcrash set-tai set-2038
14
15bins = $(TEST_PROGS) $(TEST_PROGS_EXTENDED)
16
17all: ${bins}
18
19include ../lib.mk
de52133f
JS
20
21# these tests require escalated privledges
22# and may modify the system time or trigger
23# other behavior like suspend
b7bb8442
JS
24run_destructive_tests: run_tests
25 ./alarmtimer-suspend
de52133f 26 ./valid-adjtimex
6035519f 27 ./adjtick
d8694245 28 ./change_skew
6e8b285b 29 ./skew_consistency
7290ce14 30 ./clocksource-switch
5bccfe41 31 ./leap-a-day -s -i 10
d7b2902c 32 ./leapcrash
3a92a15f 33 ./set-tai
0d02a753 34 ./set-2038
de52133f 35
0bc4b0cf 36clean:
03438212 37 rm -f ${bins}