source: molecuilder/src/unittests/Makefile.am@ 45cc89

Last change on this file since 45cc89 was 44becc, checked in by Frederik Heber <heber@…>, 16 years ago

Tests now work with Eclipse ECUT's TestRunner.

  • new switch in configure.ac: --enable-ecut
  • all tests are compiled as single test as before
  • and a new TestRunner test suite that combines all test into a single executable which can be run as CppUnit program in Eclipse (and then gives JUnit like output).
  • Property mode set to 100644
File size: 5.4 KB
Line 
1INCLUDES = -I$(top_srcdir)/src
2
3AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
4AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
5
6MENUTESTS = ActionSequenceTest
7
8TESTS = \
9 ActOnAllUnitTest \
10 AnalysisBondsUnitTests \
11 AnalysisCorrelationToPointUnitTest \
12 AnalysisCorrelationToSurfaceUnitTest \
13 AnalysisPairCorrelationUnitTest \
14 BondGraphUnitTest \
15 GSLMatrixSymmetricUnitTest \
16 GSLMatrixUnitTest \
17 GSLVectorUnitTest \
18 InfoUnitTest \
19 LinearSystemOfEquationsUnitTest \
20 ListOfBondsUnitTest \
21 LogUnitTest \
22 MemoryUsageObserverUnitTest \
23 MemoryAllocatorUnitTest \
24 StackClassUnitTest \
25 TesselationUnitTest \
26 Tesselation_BoundaryTriangleUnitTest \
27 Tesselation_InOutsideUnitTest \
28 VectorUnitTest \
29 ObserverTest \
30 CacheableTest \
31 DescriptorUnittest \
32 ${MENUTESTS}
33
34
35check_PROGRAMS = $(TESTS)
36noinst_PROGRAMS = $(TESTS) TestRunner
37
38GSLLIBS = ../libgslwrapper.a
39ALLLIBS = ../libmolecuilder.a ${GSLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
40
41TESTSOURCES = \
42 ActOnAllUnitTest.cpp \
43 analysisbondsunittest.cpp \
44 AnalysisCorrelationToPointUnitTest.cpp \
45 AnalysisCorrelationToSurfaceUnitTest.cpp \
46 AnalysisPairCorrelationUnitTest.cpp \
47 bondgraphunittest.cpp \
48 gslmatrixsymmetricunittest.cpp \
49 gslmatrixunittest.cpp \
50 gslvectorunittest.cpp \
51 infounittest.cpp \
52 linearsystemofequationsunittest.cpp \
53 listofbondsunittest.cpp \
54 logunittest.cpp \
55 memoryallocatorunittest.cpp \
56 memoryusageobserverunittest.cpp \
57 stackclassunittest.cpp \
58 tesselationunittest.cpp \
59 tesselation_boundarytriangleunittest.cpp \
60 tesselation_insideoutsideunittest.cpp \
61 vectorunittest.cpp \
62 ActionSequenceTest.cpp \
63 ObserverTest.cpp \
64 CacheableTest.cpp \
65 DescriptorUnittest.cpp
66
67TESTHEADERS = \
68 analysis_correlation.hpp
69
70ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
71ActOnAllUnitTest_LDADD = ${ALLLIBS}
72
73AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
74AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
75
76AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
77AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
78
79AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
80AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
81
82AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
83AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
84
85BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
86BondGraphUnitTest_LDADD = ${ALLLIBS}
87
88GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
89GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
90
91GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
92GSLMatrixUnitTest_LDADD = ${GSLLIBS}
93
94GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
95GSLVectorUnitTest_LDADD = ${GSLLIBS}
96
97InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
98InfoUnitTest_LDADD = ${ALLLIBS}
99
100LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
101LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
102
103ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
104ListOfBondsUnitTest_LDADD = ${ALLLIBS}
105
106LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
107LogUnitTest_LDADD = ${ALLLIBS}
108
109MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
110MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
111
112MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
113MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
114
115StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
116StackClassUnitTest_LDADD = ${ALLLIBS}
117
118TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
119TesselationUnitTest_LDADD = ${ALLLIBS}
120
121Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
122Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
123
124Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
125Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
126
127VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
128VectorUnitTest_LDADD = ${ALLLIBS}
129
130ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
131ActionSequenceTest_LDADD = ${ALLLIBS}
132
133ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
134ObserverTest_LDADD = ${ALLLIBS}
135
136CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
137CacheableTest_LDADD = ${ALLLIBS}
138
139DescriptorUnittest_SOURCES = UnitTestMain.cpp DescriptorUnittest.cpp DescriptorUnittest.hpp
140DescriptorUnittest_LDADD = ${ALLLIBS}
141
142TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
143TestRunner_LDADD = ${ALLLIBS}
144
145#AUTOMAKE_OPTIONS = parallel-tests
146
Note: See TracBrowser for help on using the repository browser.