Added creation macros and their tests.
[libsex.git] / tests / Makefile.am
blob30201d48471de65569663cc4c538de4916d567e7
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                 AutoCreatedException.cxx \
14                 CountingException.cxx \
15                 UncloneableException.cxx \
16                 TestException.cxx \
17                 TestUtility.cxx \
18                 TestMacroCreate.cxx
20 else
22 check:
23         @echo "-------------------------------------------------"
24         @echo " Cannot run tests."
25         @echo " Check \"config.log\" for more information."
26         @echo "-------------------------------------------------"
27         @exit 1
29 endif