Added Exception and its tests.
[libsex.git] / tests / Makefile.am
blob436c370069d4fdffc7543c87a97285b4d165fe34
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                 CountingException.cxx \
13                 UncloneableException.cxx \
14                 TestException.cxx
16 else
18 check:
19         @echo "-------------------------------------------------"
20         @echo " Cannot run tests."
21         @echo " Check \"config.log\" for more information."
22         @echo "-------------------------------------------------"
23         @exit 1
25 endif