aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/timers/Makefile
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 17:40:04 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-12 13:22:14 -0600
commite39b60f37ecbdc0dd3dbc4c80407c6f2376f764f (patch)
treee885065e2e647fe33522dad687db7a60e0419427 /tools/testing/selftests/timers/Makefile
parentselftests/timers: Add set-timer-lat test from timetest suite (diff)
downloadwireguard-linux-e39b60f37ecbdc0dd3dbc4c80407c6f2376f764f.tar.xz
wireguard-linux-e39b60f37ecbdc0dd3dbc4c80407c6f2376f764f.zip
selftests/timers: Add threaded time inconsistency test from timetest suite
Add the threaded time inconsistency test from the timetest suite. This checks for time inconsistencies between cpus, usually associated with clock skew as sometimes found w/ TSCs. 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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index f69bdce0b8f3..e53b675e3246 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -3,7 +3,7 @@ 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 \
- set-timer-lat
+ set-timer-lat threadtest
all: ${bins}
@@ -14,6 +14,6 @@ run_tests: all
./set-timer-lat
./inconsistency-check
./raw_skew
-
+ ./threadtest -t 30 -n 8
clean:
rm -f ${bins}