Added utility functions and their tests.
[libsex.git] / tests / Makefile.am
blobd6e45307e703b78b1703d6d73c0c59f63db9172d
1 if can_run_tests
3 SUBDIRS = 
5 check_PROGRAMS = tests
7 TESTS = tests
8 tests_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) $(CPPUNIT_CFLAGS)
9 tests_CXXFLAGS = $(CPPUNIT_LIBS)
10 tests_LDADD = $(top_srcdir)/src/$(PACKAGE).la
11 tests_SOURCES = main.cxx testRegistry.cxx \
12                 MockException.cxx \
13                 CountingException.cxx \
14                 UncloneableException.cxx \
15                 TestException.cxx \
16                 TestUtility.cxx
18 else
20 check:
21         @echo "-------------------------------------------------"
22         @echo " Cannot run tests."
23         @echo " Check \"config.log\" for more information."
24         @echo "-------------------------------------------------"
25         @exit 1
27 endif