1 CC = $(CROSS_COMPILE)gcc
3 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4 LDFLAGS += -lrt -lpthread
5 bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
6 set-timer-lat threadtest mqueue-lat valid-adjtimex \
7 alarmtimer-suspend change_skew skew_consistency clocksource-switch \
8 leap-a-day leapcrash set-tai set-2038
12 # these are all "safe" tests that don't modify
13 # system time or require escalated privledges
22 ./threadtest -t 30 -n 8
24 # these tests require escalated privledges
25 # and may modify the system time or trigger
26 # other behavior like suspend
27 run_destructive_tests: run_tests