Merge tag 'rtc-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[muen/linux.git] / tools / testing / selftests / timers / Makefile
index 54481f17518a9a9900f94ebdceb297540f0796e1..a9b86133b9b3986ff3617e4e9e0a6c45f1ee16bb 100644 (file)
@@ -1,6 +1,6 @@
 BUILD_FLAGS = -DKTEST
 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
-LDFLAGS += -lrt -lpthread
+LDFLAGS += -lrt -lpthread -lm
 
 # these are all "safe" tests that don't modify
 # system time or require escalated privileges
@@ -8,7 +8,7 @@ TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
             inconsistency-check raw_skew threadtest rtctest
 
 TEST_GEN_PROGS_EXTENDED = alarmtimer-suspend valid-adjtimex adjtick change_skew \
-                     skew_consistency clocksource-switch leap-a-day \
+                     skew_consistency clocksource-switch freq-step leap-a-day \
                      leapcrash set-tai set-2038 set-tz rtctest_setdate
 
 
@@ -24,6 +24,7 @@ run_destructive_tests: run_tests
        ./change_skew
        ./skew_consistency
        ./clocksource-switch
+       ./freq-step
        ./leap-a-day -s -i 10
        ./leapcrash
        ./set-tz