Commit a12ab9e1 authored by Alexandre Belloni's avatar Alexandre Belloni Committed by Shuah Khan (Samsung OSG)

selftests: move RTC tests to rtc subfolder

Move the RTC tests out of the timers folder as they are mostly unrelated.
Keep rtcpie in timers as it only test hrtimers.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: default avatarShuah Khan (Samsung OSG) <shuah@kernel.org>
parent 6d73ceab
...@@ -11878,7 +11878,7 @@ F: include/linux/rtc.h ...@@ -11878,7 +11878,7 @@ F: include/linux/rtc.h
F: include/uapi/linux/rtc.h F: include/uapi/linux/rtc.h
F: include/linux/rtc/ F: include/linux/rtc/
F: include/linux/platform_data/rtc-* F: include/linux/platform_data/rtc-*
F: tools/testing/selftests/timers/rtctest.c F: tools/testing/selftests/rtc/
REALTEK AUDIO CODECS REALTEK AUDIO CODECS
M: Bard Liao <bardliao@realtek.com> M: Bard Liao <bardliao@realtek.com>
......
...@@ -28,6 +28,7 @@ TARGETS += powerpc ...@@ -28,6 +28,7 @@ TARGETS += powerpc
TARGETS += proc TARGETS += proc
TARGETS += pstore TARGETS += pstore
TARGETS += ptrace TARGETS += ptrace
TARGETS += rtc
TARGETS += seccomp TARGETS += seccomp
TARGETS += sigaltstack TARGETS += sigaltstack
TARGETS += size TARGETS += size
......
# SPDX-License-Identifier: GPL-2.0
CFLAGS += -O3 -Wl,-no-as-needed -Wall
LDFLAGS += -lrt -lpthread -lm
TEST_GEN_PROGS = rtctest
TEST_GEN_PROGS_EXTENDED = setdate
include ../lib.mk
...@@ -10,7 +10,6 @@ nsleep-lat ...@@ -10,7 +10,6 @@ nsleep-lat
posix_timers posix_timers
raw_skew raw_skew
rtcpie rtcpie
rtctest
set-2038 set-2038
set-tai set-tai
set-timer-lat set-timer-lat
...@@ -20,4 +19,3 @@ valid-adjtimex ...@@ -20,4 +19,3 @@ valid-adjtimex
adjtick adjtick
set-tz set-tz
freq-step freq-step
rtctest_setdate
...@@ -5,13 +5,13 @@ LDFLAGS += -lrt -lpthread -lm ...@@ -5,13 +5,13 @@ LDFLAGS += -lrt -lpthread -lm
# these are all "safe" tests that don't modify # these are all "safe" tests that don't modify
# system time or require escalated privileges # system time or require escalated privileges
TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \ TEST_GEN_PROGS = posix_timers nanosleep nsleep-lat set-timer-lat mqueue-lat \
inconsistency-check raw_skew threadtest rtctest rtcpie inconsistency-check raw_skew threadtest rtcpie
DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \ DESTRUCTIVE_TESTS = alarmtimer-suspend valid-adjtimex adjtick change_skew \
skew_consistency clocksource-switch freq-step leap-a-day \ skew_consistency clocksource-switch freq-step leap-a-day \
leapcrash set-tai set-2038 set-tz leapcrash set-tai set-2038 set-tz
TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) rtctest_setdate TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS)
include ../lib.mk include ../lib.mk
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment