License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / tools / testing / selftests / timers / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
b8410650 2CFLAGS += -O3 -Wl,-no-as-needed -Wall
76739256 3LDFLAGS += -lrt -lpthread -lm
0bc4b0cf 4
de52133f 5# these are all "safe" tests that don't modify
1fb95c69 6# system time or require escalated privileges
88baa78d 7TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
4a5fd815 8 inconsistency-check raw_skew threadtest rtctest
5744de54 9
475c57cc 10DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \
76739256 11 skew_consistency clocksource-switch freq-step leap-a-day \
475c57cc
SK
12 leapcrash set-tai set-2038 set-tz
13
14TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) rtctest_setdate
5744de54 15
5744de54
ME
16
17include ../lib.mk
de52133f 18
1fb95c69 19# these tests require escalated privileges
de52133f
JS
20# and may modify the system time or trigger
21# other behavior like suspend
b7bb8442 22run_destructive_tests: run_tests
77d802e2 23 $(call RUN_TESTS, $(DESTRUCTIVE_TESTS))