aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/timers/Makefile
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2015-03-11 17:40:11 -0700
committerShuah Khan <shuahkh@osg.samsung.com>2015-03-12 13:22:16 -0600
commit5bccfe41532f4b80fc70cd8f78fd965666a46c15 (patch)
tree824ff936d2903775a54e2c89c547524c563bc408 /tools/testing/selftests/timers/Makefile
parentselftests/timers: Add clocksource-switch test from timetest suite (diff)
downloadwireguard-linux-5bccfe41532f4b80fc70cd8f78fd965666a46c15.tar.xz
wireguard-linux-5bccfe41532f4b80fc70cd8f78fd965666a46c15.zip
selftests/timers: Add leap-a-day test from timetest suite
This change adds the leap-a-day test which sets STA_INS and STA_DEL each day to trigger leapseconds each day. It also has a mode to jump the time to right before the end of the day each iteration. 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/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile
index 4a006d7ba217..da35dddaa985 100644
--- a/tools/testing/selftests/timers/Makefile
+++ b/tools/testing/selftests/timers/Makefile
@@ -5,6 +5,7 @@ LDFLAGS += -lrt -lpthread
bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew \
set-timer-lat threadtest mqueue-lat valid-adjtimex \
alarmtimer-suspend change_skew skew_consistency clocksource-switch \
+ leap-a-day
all: ${bins}
@@ -29,6 +30,7 @@ run_destructive_tests: run_tests
./change_skew
./skew_consistency
./clocksource-switch
+ ./leap-a-day -s -i 10
clean:
rm -f ${bins}