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 9DESTRUCTIVE_TESTS = 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 12 13TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) rtctest_setdate 14 15 16include ../lib.mk 17 18# these tests require escalated privileges 19# and may modify the system time or trigger 20# other behavior like suspend 21run_destructive_tests: run_tests 22 $(call RUN_TESTS, $(DESTRUCTIVE_TESTS)) 23