This adds my inconsistency-test from my timetests suite, which checks for (single threaded) time inconsistencies across the various clockids. Cc: Shuah Khan <shuahkh@osg.samsung.com> Cc: Prarit Bhargava <prarit@redhat.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Richard Cochran <richardcochran@gmail.com> Signed-off-by: John Stultz <john.stultz@linaro.org> Tested-by: Prarit Bhargava <prarit@redhat.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
14 lines
280 B
Makefile
14 lines
280 B
Makefile
CC = $(CROSS_COMPILE)gcc
|
|
BUILD_FLAGS = -DKTEST
|
|
CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
|
|
LDFLAGS += -lrt -lpthread
|
|
bins = posix_timers nanosleep inconsistency-check
|
|
|
|
all: ${bins}
|
|
|
|
run_tests: all
|
|
./posix_timers
|
|
./nanosleep
|
|
./inconsistency-check
|
|
clean:
|
|
rm -f ${bins}
|