1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0 2b8410650SShuah KhanCFLAGS += -O3 -Wl,-no-as-needed -Wall 37d4e591bSFathi BoudraLDLIBS += -lrt -lpthread -lm 40bc4b0cfSFrederic Weisbecker 5de52133fSJohn Stultz# these are all "safe" tests that don't modify 61fb95c69SGeert Uytterhoeven# system time or require escalated privileges 788baa78dSbamvor.zhangjian@huawei.comTEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \ 8a12ab9e1SAlexandre Belloni inconsistency-check raw_skew threadtest rtcpie 95744de54SMichael Ellerman 10475c57ccSShuah KhanDESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \ 1176739256SMiroslav Lichvar skew_consistency clocksource-switch freq-step leap-a-day \ 12475c57ccSShuah Khan leapcrash set-tai set-2038 set-tz 13475c57ccSShuah Khan 14a12ab9e1SAlexandre BelloniTEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) 155744de54SMichael Ellerman 16*5c1e4f7eSPo-Hsu LinTEST_FILES := settings 175744de54SMichael Ellerman 185744de54SMichael Ellermaninclude ../lib.mk 19de52133fSJohn Stultz 201fb95c69SGeert Uytterhoeven# these tests require escalated privileges 21de52133fSJohn Stultz# and may modify the system time or trigger 22de52133fSJohn Stultz# other behavior like suspend 23b7bb8442SJohn Stultzrun_destructive_tests: run_tests 2477d802e2SShuah Khan $(call RUN_TESTS, $(DESTRUCTIVE_TESTS)) 25