This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] x86: Add tst-get-cpu-features-static to $(tests) [BZ #23458]
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Fri, 27 Jul 2018 13:38:37 -0700
- Subject: [PATCH] x86: Add tst-get-cpu-features-static to $(tests) [BZ #23458]
All tests should be added to $(tests) and all static tests should be
added to $(tests-static).
[BZ #23458]
* sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
---
sysdeps/x86/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysdeps/x86/Makefile b/sysdeps/x86/Makefile
index 672bb19489..85086b1410 100644
--- a/sysdeps/x86/Makefile
+++ b/sysdeps/x86/Makefile
@@ -5,7 +5,9 @@ endif
ifeq ($(subdir),elf)
sysdep-dl-routines += dl-get-cpu-features
-tests += tst-get-cpu-features
+# NB: All tests should be added to $(tests) and all static tests should
+# be added to $(tests-static).
+tests += tst-get-cpu-features tst-get-cpu-features-static
tests-static += tst-get-cpu-features-static
endif
--
2.17.1