From 6d4f1834957bc52fef6bf0fe903580220d0d711c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 1 May 2023 12:59:12 +0200 Subject: [PATCH] nptl: move tst-x86-64-tls-1 to nptl-only tests It is essentially nptl-only. --- sysdeps/x86_64/Makefile | 2 -- sysdeps/x86_64/nptl/Makefile | 4 ++++ sysdeps/x86_64/{ => nptl}/tst-x86-64-tls-1.c | 0 3 files changed, 4 insertions(+), 2 deletions(-) rename sysdeps/x86_64/{ => nptl}/tst-x86-64-tls-1.c (100%) diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile index 54396c3..00120ca 100644 --- a/sysdeps/x86_64/Makefile +++ b/sysdeps/x86_64/Makefile @@ -175,8 +175,6 @@ ifeq (no,$(build-hardcoded-path-in-tests)) tests-container += tst-glibc-hwcaps-cache endif -tests-internal += tst-x86-64-tls-1 - endif # $(subdir) == elf ifeq ($(subdir),csu) diff --git a/sysdeps/x86_64/nptl/Makefile b/sysdeps/x86_64/nptl/Makefile index e25e319..70e31b7 100644 --- a/sysdeps/x86_64/nptl/Makefile +++ b/sysdeps/x86_64/nptl/Makefile @@ -18,3 +18,7 @@ ifeq ($(subdir),csu) gen-as-const-headers += tcb-offsets.sym endif + +ifeq ($(subdir),elf) +tests-internal += tst-x86-64-tls-1 +endif diff --git a/sysdeps/x86_64/tst-x86-64-tls-1.c b/sysdeps/x86_64/nptl/tst-x86-64-tls-1.c similarity index 100% rename from sysdeps/x86_64/tst-x86-64-tls-1.c rename to sysdeps/x86_64/nptl/tst-x86-64-tls-1.c -- 2.7.4