diff mbox series

[hurd,commited] nptl: move tst-x86-64-tls-1 to nptl-only tests

Message ID 20230501113018.3841572-1-samuel.thibault@ens-lyon.org
State New
Headers show
Series [hurd,commited] nptl: move tst-x86-64-tls-1 to nptl-only tests | expand

Commit Message

Samuel Thibault May 1, 2023, 11:30 a.m. UTC
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 mbox series

Patch

diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 54396c3c3f..00120ca9ca 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 e25e3199a3..70e31b73ef 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