1CFLAGS += -O3 -Wl,-no-as-needed -Wall 2LDFLAGS += -lrt -lpthread -lm 3 4# these are all "safe" tests that don't modify 5# system time or require escalated privileges 6TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \ 7 inconsistency-check raw_skew threadtest rtctest 8 9TEST_GEN_PROGS_EXTENDED = alarmtimer-suspend valid-adjtimex adjtick change_skew \ 10 skew_consistency clocksource-switch freq-step leap-a-day \ 11 leapcrash set-tai set-2038 set-tz rtctest_setdate 12 13 14include ../lib.mk 15 16# these tests require escalated privileges 17# and may modify the system time or trigger 18# other behavior like suspend 19run_destructive_tests: run_tests 20 ./alarmtimer-suspend 21 ./valid-adjtimex 22 ./adjtick 23 ./change_skew 24 ./skew_consistency 25 ./clocksource-switch 26 ./freq-step 27 ./leap-a-day -s -i 10 28 ./leapcrash 29 ./set-tz 30 ./set-tai 31 ./set-2038 32 33