diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-03 20:39:11 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-04 01:17:42 +0200 |
commit | 263beff33db15c12cf425f991e95f13a91350f8d (patch) | |
tree | 82e5deb95ff8f7404e3b8eb1f54d9e2fa4ca233f /modules | |
parent | c6dc4ec6cac1c2ecac037df50d83ff7267eb144a (diff) | |
download | gnulib-263beff33db15c12cf425f991e95f13a91350f8d.tar.gz |
sched: Add C++ tests.
* tests/test-sched-c++.cc: New file.
* modules/sched-c++-tests: New file.
* modules/sched-tests (Depends-on): Add sched-c++-tests.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sched-c++-tests | 19 | ||||
-rw-r--r-- | modules/sched-tests | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/modules/sched-c++-tests b/modules/sched-c++-tests new file mode 100644 index 0000000000..28c6ea184d --- /dev/null +++ b/modules/sched-c++-tests @@ -0,0 +1,19 @@ +Files: +tests/test-sched-c++.cc +tests/signature.h + +Status: +c++-test + +Depends-on: +ansi-c++-opt + +configure.ac: + +Makefile.am: +if ANSICXX +TESTS += test-sched-c++ +check_PROGRAMS += test-sched-c++ +test_sched_c___SOURCES = test-sched-c++.cc +test_sched_c___LDADD = $(LDADD) $(LIB_SCHED_YIELD) +endif diff --git a/modules/sched-tests b/modules/sched-tests index 8427490f57..52eed8bc25 100644 --- a/modules/sched-tests +++ b/modules/sched-tests @@ -2,6 +2,7 @@ Files: tests/test-sched.c Depends-on: +sched-c++-tests configure.ac: |