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