mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	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: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
This commit is contained in:
		
							parent
							
								
									6d73ceab4d
								
							
						
					
					
						commit
						a12ab9e125
					
				
					 8 changed files with 15 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -11878,7 +11878,7 @@ F:	include/linux/rtc.h
 | 
			
		|||
F:	include/uapi/linux/rtc.h
 | 
			
		||||
F:	include/linux/rtc/
 | 
			
		||||
F:	include/linux/platform_data/rtc-*
 | 
			
		||||
F:	tools/testing/selftests/timers/rtctest.c
 | 
			
		||||
F:	tools/testing/selftests/rtc/
 | 
			
		||||
 | 
			
		||||
REALTEK AUDIO CODECS
 | 
			
		||||
M:	Bard Liao <bardliao@realtek.com>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,6 +28,7 @@ TARGETS += powerpc
 | 
			
		|||
TARGETS += proc
 | 
			
		||||
TARGETS += pstore
 | 
			
		||||
TARGETS += ptrace
 | 
			
		||||
TARGETS += rtc
 | 
			
		||||
TARGETS += seccomp
 | 
			
		||||
TARGETS += sigaltstack
 | 
			
		||||
TARGETS += size
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										2
									
								
								tools/testing/selftests/rtc/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tools/testing/selftests/rtc/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
rtctest
 | 
			
		||||
setdate
 | 
			
		||||
							
								
								
									
										9
									
								
								tools/testing/selftests/rtc/Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tools/testing/selftests/rtc/Makefile
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
# 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
 | 
			
		||||
							
								
								
									
										2
									
								
								tools/testing/selftests/timers/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								tools/testing/selftests/timers/.gitignore
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -10,7 +10,6 @@ nsleep-lat
 | 
			
		|||
posix_timers
 | 
			
		||||
raw_skew
 | 
			
		||||
rtcpie
 | 
			
		||||
rtctest
 | 
			
		||||
set-2038
 | 
			
		||||
set-tai
 | 
			
		||||
set-timer-lat
 | 
			
		||||
| 
						 | 
				
			
			@ -20,4 +19,3 @@ valid-adjtimex
 | 
			
		|||
adjtick
 | 
			
		||||
set-tz
 | 
			
		||||
freq-step
 | 
			
		||||
rtctest_setdate
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,13 +5,13 @@ LDFLAGS += -lrt -lpthread -lm
 | 
			
		|||
# these are all "safe" tests that don't modify
 | 
			
		||||
# system time or require escalated privileges
 | 
			
		||||
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 \
 | 
			
		||||
		      skew_consistency clocksource-switch freq-step leap-a-day \
 | 
			
		||||
		      leapcrash set-tai set-2038 set-tz
 | 
			
		||||
 | 
			
		||||
TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS) rtctest_setdate
 | 
			
		||||
TEST_GEN_PROGS_EXTENDED = $(DESTRUCTIVE_TESTS)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
include ../lib.mk
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue