summaryrefslogtreecommitdiff
path: root/modules/pthread-tss-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-15 02:41:21 +0200
committerBruno Haible <bruno@clisp.org>2019-07-15 02:41:21 +0200
commit3fabe95a0a390406dcc57f007e69d1f84f195fce (patch)
tree6c3eb90ecf58ee15819046b43f3d7c0e5ec98d67 /modules/pthread-tss-tests
parent6fc3895e90a697bb047d6301d99b95e1c9499b23 (diff)
downloadgnulib-3fabe95a0a390406dcc57f007e69d1f84f195fce.tar.gz
pthread-tss: Add tests.
* tests/test-pthread-tss.c: New file, based on tests/test-tls.c and tests/test-tss.c. * modules/pthread-tss-tests: New file.
Diffstat (limited to 'modules/pthread-tss-tests')
-rw-r--r--modules/pthread-tss-tests15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/pthread-tss-tests b/modules/pthread-tss-tests
new file mode 100644
index 0000000000..52707e38a6
--- /dev/null
+++ b/modules/pthread-tss-tests
@@ -0,0 +1,15 @@
+Files:
+tests/test-pthread-tss.c
+tests/macros.h
+
+Depends-on:
+pthread-thread
+pthread-mutex
+sched_yield
+
+configure.ac:
+
+Makefile.am:
+TESTS += test-pthread-tss
+check_PROGRAMS += test-pthread-tss
+test_pthread_tss_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@