In-source preparation of release.
[libsex.git] / tests / Makefile.am
blobfe5b889401131c9982fc90fd593a192df07fb540
1 if can_run_tests
3 check_PROGRAMS = tests
5 TESTS = tests
6 tests_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) $(CPPUNIT_CFLAGS)
7 tests_CXXFLAGS = $(CPPUNIT_LIBS)
8 tests_LDADD = $(top_srcdir)/src/$(PACKAGE).la
9 tests_SOURCES = main.cxx testRegistry.cxx \
10                 MockException.cxx \
11                 AutoCreatedException.cxx \
12                 CountingException.cxx \
13                 UncloneableException.cxx \
14                 TestException.cxx \
15                 TestUtility.cxx \
16                 TestMacros.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