Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 CFLAGS += -O3 -Wl,-no-as-needed -Wall
0003 LDLIBS += -lrt -lpthread -lm
0004 
0005 # these are all "safe" tests that don't modify
0006 # system time or require escalated privileges
0007 TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
0008              inconsistency-check raw_skew threadtest rtcpie
0009 
0010 DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \
0011                       skew_consistency clocksource-switch freq-step leap-a-day \
0012                       leapcrash set-tai set-2038 set-tz
0013 
0014 TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS)
0015 
0016 TEST_FILES := settings
0017 
0018 include ../lib.mk
0019 
0020 # these tests require escalated privileges
0021 # and may modify the system time or trigger
0022 # other behavior like suspend
0023 run_destructive_tests: run_tests
0024         $(call RUN_TESTS, $(DESTRUCTIVE_TESTS))