Tests of module 'time' in C++ mode.
[gnulib.git] / modules / time-tests
index cde1e0f..cb1d6a5 100644 (file)
@@ -1,11 +1,20 @@
 Files:
 tests/test-time.c
+tests/test-time-c++.cc
+tests/signature.h
 
 Depends-on:
 verify
+ansi-c++-opt
 
 configure.ac:
 
 Makefile.am:
 TESTS += test-time
 check_PROGRAMS += test-time
+if ANSICXX
+TESTS += test-time-c++
+check_PROGRAMS += test-time-c++
+test_time_c___SOURCES = test-time-c++.cc
+test_time_c___LDADD = $(LDADD) $(LIBINTL) $(LIB_NANOSLEEP)
+endif