Skip to content

Commit e82bf75

Browse files
t-8chKAGA-KOKO
authored andcommitted
selftests: vDSO: Drop vdso_test_clock_getres
vdso_test_abi provides the exact same functionality, properly uses kselftest.h and explicitly calls into the vDSO without relying on the libc. Drop the pointless testcase. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20250812-vdso-tests-fixes-v2-8-90f499dd35f8@linutronix.de
1 parent 7262aa7 commit e82bf75

File tree

3 files changed

+0
-126
lines changed

3 files changed

+0
-126
lines changed

tools/testing/selftests/vDSO/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22
vdso_test
33
vdso_test_abi
4-
vdso_test_clock_getres
54
vdso_test_correctness
65
vdso_test_gettimeofday
76
vdso_test_getcpu

tools/testing/selftests/vDSO/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ include ../../../scripts/Makefile.arch
44
TEST_GEN_PROGS := vdso_test_gettimeofday
55
TEST_GEN_PROGS += vdso_test_getcpu
66
TEST_GEN_PROGS += vdso_test_abi
7-
TEST_GEN_PROGS += vdso_test_clock_getres
87
ifeq ($(ARCH),$(filter $(ARCH),x86 x86_64))
98
TEST_GEN_PROGS += vdso_standalone_test_x86
109
endif
@@ -29,7 +28,6 @@ CFLAGS_NOLIBC := -nostdlib -nostdinc -ffreestanding -fno-asynchronous-unwind-tab
2928
$(OUTPUT)/vdso_test_gettimeofday: parse_vdso.c vdso_test_gettimeofday.c
3029
$(OUTPUT)/vdso_test_getcpu: parse_vdso.c vdso_test_getcpu.c
3130
$(OUTPUT)/vdso_test_abi: parse_vdso.c vdso_test_abi.c
32-
$(OUTPUT)/vdso_test_clock_getres: vdso_test_clock_getres.c
3331

3432
$(OUTPUT)/vdso_standalone_test_x86: vdso_standalone_test_x86.c parse_vdso.c | headers
3533
$(OUTPUT)/vdso_standalone_test_x86: CFLAGS:=$(CFLAGS_NOLIBC) $(CFLAGS)

tools/testing/selftests/vDSO/vdso_test_clock_getres.c

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)