aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/Makefile
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 17:40:03 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-12 13:22:14 -0600
commit4e40d0a22e728102bfea9543d827ee72206eecbb (patch)
tree3b03d586fb7b3a969dd7de3177de13922aa562b2 /tools/testing/selftests/timers/Makefile
parentselftests/timers: Add clock skew estimation test from timetest suite (diff)
downloadlinux-dev-4e40d0a22e728102bfea9543d827ee72206eecbb.tar.xz
linux-dev-4e40d0a22e728102bfea9543d827ee72206eecbb.zip
selftests/timers: Add set-timer-lat test from timetest suite
Add my set-timer-lat test from the timetest suite. This test checks the latency from set_timer and reports if any are unreasonable (>40ms). 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>
Diffstat (limited to 'tools/testing/selftests/timers/Makefile')
-rw-r--r--tools/testing/selftests/timers/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index 088a791a44cb..f69bdce0b8f3 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -2,7 +2,8 @@ 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 nsleep-lat raw_skew
+bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
+ set-timer-lat
all: ${bins}
@@ -10,7 +11,9 @@ run_tests: all
./posix_timers
./nanosleep
./nsleep-lat
+ ./set-timer-lat
./inconsistency-check
./raw_skew
+
clean:
rm -f ${bins}