aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/timers/Makefile
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 17:40:01 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-12 13:22:13 -0600
commitc5fffcb2bd4e2fdc37875fc4368db49ac927d6df (patch)
treecc4098d78a0c9b76bde153cc8de231d36b4c58c7 /tools/testing/selftests/timers/Makefile
parentselftests/timers: Add inconsistency-check test from timetests (diff)
downloadlinux-dev-c5fffcb2bd4e2fdc37875fc4368db49ac927d6df.tar.xz
linux-dev-c5fffcb2bd4e2fdc37875fc4368db49ac927d6df.zip
selftests/timers: Add nsleep-lat test from timetest suite
Adds my nanosleep latency test from the timetest suite. This checks to make sure we don't see "unreasonable" latencies (> 40ms) when calling nanosleep. 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/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index fcb7c2fcafe5..dae9ee76b74b 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -2,13 +2,14 @@ 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
+bins = posix_timers nanosleep inconsistency-check nsleep-lat
all: ${bins}
run_tests: all
./posix_timers
./nanosleep
+ ./nsleep-lat
./inconsistency-check
clean:
rm -f ${bins}