selftests/timers: Add alarmtimer-suspend test from timetests suite
[deliverable/linux.git] / tools / testing / selftests / timers / Makefile
index 01b5a2ed343acfe1e7b091175a881dfafbaa896c..61a39ec61393506bb123dc3a97c82a04d9b45885 100644 (file)
@@ -3,7 +3,8 @@ 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 threadtest mqueue-lat valid-adjtimex
+       set-timer-lat threadtest mqueue-lat valid-adjtimex \
+       alarmtimer-suspend
 
 all: ${bins}
 
@@ -22,7 +23,8 @@ run_tests: all
 # these tests require escalated privledges
 # and may modify the system time or trigger
 # other behavior like suspend
-run_destructive_tests: all
+run_destructive_tests: run_tests
+       ./alarmtimer-suspend
        ./valid-adjtimex
 
 clean:
This page took 0.025287 seconds and 5 git commands to generate.