Skip to content

Commit 475c57c

Browse files
author
Shuah Khan
committed
selftests: timers: remove rtctest_setdate from run_destructive_tests
Remove rtctest_setdate from run_destructive_tests target. Leave it in TEST_GEN_PROGS_EXTENDED to be included in the install targets. Suggested-by: John Stultz <[email protected]> Signed-off-by: Shuah Khan <[email protected]> Reviewed-by: Benjamin Gaignard <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent df9c011 commit 475c57c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tools/testing/selftests/timers/Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ LDFLAGS += -lrt -lpthread -lm
66
TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
77
inconsistency-check raw_skew threadtest rtctest
88

9-
TEST_GEN_PROGS_EXTENDED = alarmtimer-suspend valid-adjtimex adjtick change_skew \
9+
DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \
1010
skew_consistency clocksource-switch freq-step leap-a-day \
11-
leapcrash set-tai set-2038 set-tz rtctest_setdate
11+
leapcrash set-tai set-2038 set-tz
12+
13+
TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) rtctest_setdate
1214

1315

1416
include ../lib.mk
1517

1618
define RUN_DESTRUCTIVE_TESTS
17-
@for TEST in $(TEST_GEN_PROGS_EXTENDED); do \
19+
@for TEST in $(DESTRUCTIVE_TESTS); do \
1820
BASENAME_TEST=`basename $$TEST`; \
1921
if [ ! -x $$BASENAME_TEST ]; then \
2022
echo "selftests: Warning: file $$BASENAME_TEST is not executable, correct this.";\

0 commit comments

Comments
 (0)