]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - tools/testing/selftests/timers/Makefile
selftests/timers: Add threaded time inconsistency test from timetest suite
[mirror_ubuntu-bionic-kernel.git] / tools / testing / selftests / timers / Makefile
CommitLineData
03438212
JS
1CC = $(CROSS_COMPILE)gcc
2BUILD_FLAGS = -DKTEST
3CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4LDFLAGS += -lrt -lpthread
4e40d0a2 5bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
e39b60f3 6 set-timer-lat threadtest
03438212
JS
7
8all: ${bins}
0bc4b0cf
FW
9
10run_tests: all
11 ./posix_timers
689f32fb 12 ./nanosleep
c5fffcb2 13 ./nsleep-lat
4e40d0a2 14 ./set-timer-lat
ed3fe34a 15 ./inconsistency-check
51f91cbd 16 ./raw_skew
e39b60f3 17 ./threadtest -t 30 -n 8
0bc4b0cf 18clean:
03438212 19 rm -f ${bins}