aboutsummaryrefslogtreecommitdiff
path: root/nptl/Makefile
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-10-29 17:35:21 +0000
committerJoseph Myers <josmyers@redhat.com>2024-10-29 17:35:21 +0000
commit36b549924b259dca39a66c2281b157d8e97bd676 (patch)
tree1d9b6814221626d340b825bd890607c20710dfd8 /nptl/Makefile
parent7fe1fde499507126f7de10ebf12fecaf77ae6602 (diff)
downloadglibc-36b549924b259dca39a66c2281b157d8e97bd676.zip
glibc-36b549924b259dca39a66c2281b157d8e97bd676.tar.gz
glibc-36b549924b259dca39a66c2281b157d8e97bd676.tar.bz2
Add more tests of pthread attributes initial values
There are various existing tests that call pthread_attr_init and then verify properties of the resulting initial values retrieved with pthread_attr_get* functions. However, those are missing coverage of the initial values retrieved with pthread_attr_getschedparam and pthread_attr_getstacksize. Add testing for initial values from those functions as well. (tst-attr2 covers pthread_attr_getdetachstate, pthread_attr_getguardsize, pthread_attr_getinheritsched, pthread_attr_getschedpolicy, pthread_attr_getscope. tst-attr3 covers some of those together with pthread_attr_getaffinity_np. tst-pthread-attr-sigmask covers pthread_attr_getsigmask_np. pthread_attr_getstack has unspecified results if called before the relevant attributes have been set, while pthread_attr_getstackaddr is deprecated.) Tested for x86_64.
Diffstat (limited to 'nptl/Makefile')
-rw-r--r--nptl/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/Makefile b/nptl/Makefile
index bf4c29b..ceb91af 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -276,6 +276,7 @@ LDLIBS-tst-minstack-throw = -lstdc++
tests = \
tst-attr2 \
tst-attr3 \
+ tst-attr4 \
tst-cancel4_1 \
tst-cancel4_2 \
tst-cancel7 \