summaryrefslogtreecommitdiff
path: root/modules/pthread-h-c++-tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2019-07-15 02:36:19 +0200
committerBruno Haible <bruno@clisp.org>2019-07-15 02:36:19 +0200
commitfba5fd39277dce3cac9fb72394bc7b3af36303a6 (patch)
tree8bc5422402766d6d2efb8029b501b56cdd081a33 /modules/pthread-h-c++-tests
parent30e64672a7ac497ad0e4c0b8c25890844bbe46e1 (diff)
downloadgnulib-fba5fd39277dce3cac9fb72394bc7b3af36303a6.tar.gz
pthread-h: Add C++ tests.
* tests/test-pthread-c++.cc: New file. * modules/pthread-h-c++-tests: New file.
Diffstat (limited to 'modules/pthread-h-c++-tests')
-rw-r--r--modules/pthread-h-c++-tests19
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/pthread-h-c++-tests b/modules/pthread-h-c++-tests
new file mode 100644
index 0000000000..1886b0a276
--- /dev/null
+++ b/modules/pthread-h-c++-tests
@@ -0,0 +1,19 @@
+Files:
+tests/test-pthread-c++.cc
+tests/signature.h
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-pthread-c++
+check_PROGRAMS += test-pthread-c++
+test_pthread_c___SOURCES = test-pthread-c++.cc
+test_pthread_c___LDADD = $(LDADD) $(LIB_PTHREAD)
+endif