diff options
author | Carlos O'Donell <carlos@redhat.com> | 2013-12-12 00:44:29 -0500 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2013-12-12 01:30:28 -0500 |
commit | 1db94db157ed6c9e233178c9f3d21be46a1d181e (patch) | |
tree | 5df644bfc7cb828e2f34897aab4919dfee5a5552 /nptl/sysdeps/unix/sysv/linux/Makefile | |
parent | 19b5525e525601bf5cc0279c6950e79157c670b1 (diff) | |
download | glibc-1db94db157ed6c9e233178c9f3d21be46a1d181e.tar.gz glibc-1db94db157ed6c9e233178c9f3d21be46a1d181e.tar.xz glibc-1db94db157ed6c9e233178c9f3d21be46a1d181e.zip |
Add test case for pthread_[sg]etname_np.
This commit adds a testcase for pthread_setname_np and pthread_getname_np. The testcase itself has four tests to validate that these functions work as expected. The test is only enabled for Linux since it requires access to an alternate method for validating the functions work.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/Makefile')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/Makefile b/nptl/sysdeps/unix/sysv/linux/Makefile index 6078e2ded1..9e0df9801b 100644 --- a/nptl/sysdeps/unix/sysv/linux/Makefile +++ b/nptl/sysdeps/unix/sysv/linux/Makefile @@ -26,6 +26,7 @@ gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym \ lowlevelbarrier.sym unwindbuf.sym \ lowlevelrobustlock.sym pthread-pi-defines.sym \ structsem.sym +tests += tst-setgetname endif ifeq ($(subdir),posix) |