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 \
11 # these are all "safe" tests that don't modify
12 # system time or require escalated privledges
21 ./threadtest -t 30 -n 8
23 # these tests require escalated privledges
24 # and may modify the system time or trigger
25 # other behavior like suspend
26 run_destructive_tests: run_tests