aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-11-22 16:58:51 +0000
committerJoseph Myers <josmyers@redhat.com>2024-11-22 16:58:51 +0000
commit99671e72bb27a3cb98860bdc4c0e25961ce96b3e (patch)
treeff308d9a845369d565dc444fe9b4b4fef0852eca /sysdeps/unix/sysv/linux/Makefile
parentbccb0648ea29f89a7b1b64f3e5674d2338e3798e (diff)
downloadglibc-99671e72bb27a3cb98860bdc4c0e25961ce96b3e.zip
glibc-99671e72bb27a3cb98860bdc4c0e25961ce96b3e.tar.gz
glibc-99671e72bb27a3cb98860bdc4c0e25961ce96b3e.tar.bz2
Add multithreaded test of sem_getvalue
Test coverage of sem_getvalue is fairly limited. Add a test that runs it on threads on each CPU. For this purpose I adapted tst-skeleton-thread-affinity.c; it didn't seem very suitable to use as-is or include directly in a different test doing things per-CPU, but did seem a suitable starting point (thus sharing tst-skeleton-affinity.c) for such testing. Tested for x86_64.
Diffstat (limited to 'sysdeps/unix/sysv/linux/Makefile')
-rw-r--r--sysdeps/unix/sysv/linux/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 527c7a5..eb9c697 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -668,6 +668,7 @@ ifeq ($(subdir),nptl)
tests += \
tst-align-clone \
tst-getpid1 \
+ tst-sem_getvalue-affinity \
# tests
# tst-rseq-nptl is an internal test because it requires a definition of