1 | INCLUDES = -I$(top_srcdir)/src
|
---|
2 |
|
---|
3 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
4 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
5 |
|
---|
6 | MENUTESTS = \
|
---|
7 | ActionSequenceTest
|
---|
8 |
|
---|
9 | TESTS = \
|
---|
10 | ActOnAllUnitTest \
|
---|
11 | AnalysisBondsUnitTests \
|
---|
12 | AnalysisCorrelationToPointUnitTest \
|
---|
13 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
14 | AnalysisPairCorrelationUnitTest \
|
---|
15 | atomsCalculationTest \
|
---|
16 | AtomDescriptorTest \
|
---|
17 | BondGraphUnitTest \
|
---|
18 | CacheableTest \
|
---|
19 | CountBondsUnitTest \
|
---|
20 | GSLMatrixSymmetricUnitTest \
|
---|
21 | GSLMatrixUnitTest \
|
---|
22 | GSLVectorUnitTest \
|
---|
23 | InfoUnitTest \
|
---|
24 | LinearSystemOfEquationsUnitTest \
|
---|
25 | LinkedCellUnitTest \
|
---|
26 | ListOfBondsUnitTest \
|
---|
27 | LogUnitTest \
|
---|
28 | manipulateAtomsTest \
|
---|
29 | MemoryUsageObserverUnitTest \
|
---|
30 | MemoryAllocatorUnitTest \
|
---|
31 | MoleculeDescriptorTest \
|
---|
32 | ObserverTest \
|
---|
33 | SingletonTest \
|
---|
34 | StackClassUnitTest \
|
---|
35 | TesselationUnitTest \
|
---|
36 | Tesselation_BoundaryTriangleUnitTest \
|
---|
37 | Tesselation_InOutsideUnitTest \
|
---|
38 | VectorUnitTest \
|
---|
39 | ${MENUTESTS}
|
---|
40 |
|
---|
41 |
|
---|
42 | check_PROGRAMS = $(TESTS)
|
---|
43 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
44 |
|
---|
45 | GSLLIBS = ../libgslwrapper.a
|
---|
46 | ALLLIBS = ../libmolecuilder.a ${GSLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
47 |
|
---|
48 | TESTSOURCES = \
|
---|
49 | ActOnAllUnitTest.cpp \
|
---|
50 | ActionSequenceTest.cpp \
|
---|
51 | analysisbondsunittest.cpp \
|
---|
52 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
53 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
54 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
55 | AtomDescriptorTest.cpp \
|
---|
56 | atomsCalculationTest.cpp \
|
---|
57 | bondgraphunittest.cpp \
|
---|
58 | CacheableTest.cpp \
|
---|
59 | CountBondsUnitTest.cpp \
|
---|
60 | gslmatrixsymmetricunittest.cpp \
|
---|
61 | gslmatrixunittest.cpp \
|
---|
62 | gslvectorunittest.cpp \
|
---|
63 | infounittest.cpp \
|
---|
64 | linearsystemofequationsunittest.cpp \
|
---|
65 | LinkedCellUnitTest.cpp \
|
---|
66 | listofbondsunittest.cpp \
|
---|
67 | logunittest.cpp \
|
---|
68 | manipulateAtomsTest.cpp \
|
---|
69 | memoryallocatorunittest.cpp \
|
---|
70 | memoryusageobserverunittest.cpp \
|
---|
71 | MoleculeDescriptorTest.cpp \
|
---|
72 | ObserverTest.cpp \
|
---|
73 | SingletonTest.cpp \
|
---|
74 | stackclassunittest.cpp \
|
---|
75 | tesselationunittest.cpp \
|
---|
76 | tesselation_boundarytriangleunittest.cpp \
|
---|
77 | tesselation_insideoutsideunittest.cpp \
|
---|
78 | vectorunittest.cpp
|
---|
79 |
|
---|
80 | TESTHEADERS = \
|
---|
81 | ActOnAllUnitTest.hpp \
|
---|
82 | ActionSequenceTest.hpp \
|
---|
83 | analysisbondsunittest.hpp \
|
---|
84 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
85 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
86 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
87 | AtomDescriptorTest.hpp \
|
---|
88 | atomsCalculationTest.hpp \
|
---|
89 | bondgraphunittest.hpp \
|
---|
90 | CacheableTest.hpp \
|
---|
91 | CountBondsUnitTest.hpp \
|
---|
92 | gslmatrixsymmetricunittest.hpp \
|
---|
93 | gslmatrixunittest.hpp \
|
---|
94 | gslvectorunittest.hpp \
|
---|
95 | infounittest.hpp \
|
---|
96 | linearsystemofequationsunittest.hpp \
|
---|
97 | LinkedCellUnitTest.hpp \
|
---|
98 | listofbondsunittest.hpp \
|
---|
99 | logunittest.hpp \
|
---|
100 | manipulateAtomsTest.hpp \
|
---|
101 | memoryallocatorunittest.hpp \
|
---|
102 | memoryusageobserverunittest.hpp \
|
---|
103 | MoleculeDescriptorTest.hpp \
|
---|
104 | ObserverTest.hpp \
|
---|
105 | SingletonTest.hpp \
|
---|
106 | stackclassunittest.hpp \
|
---|
107 | tesselationunittest.hpp \
|
---|
108 | tesselation_boundarytriangleunittest.hpp \
|
---|
109 | tesselation_insideoutsideunittest.hpp \
|
---|
110 | vectorunittest.hpp
|
---|
111 |
|
---|
112 |
|
---|
113 | ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
|
---|
114 | ActOnAllUnitTest_LDADD = ${ALLLIBS}
|
---|
115 |
|
---|
116 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
117 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
118 |
|
---|
119 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
120 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
121 |
|
---|
122 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
123 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
124 |
|
---|
125 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
126 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
127 |
|
---|
128 | atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
|
---|
129 | atomsCalculationTest_LDADD = ${ALLLIBS}
|
---|
130 |
|
---|
131 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
132 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
133 |
|
---|
134 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
135 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
136 |
|
---|
137 | GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
|
---|
138 | GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
|
---|
139 |
|
---|
140 | GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
|
---|
141 | GSLMatrixUnitTest_LDADD = ${GSLLIBS}
|
---|
142 |
|
---|
143 | GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
|
---|
144 | GSLVectorUnitTest_LDADD = ${GSLLIBS}
|
---|
145 |
|
---|
146 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
---|
147 | InfoUnitTest_LDADD = ${ALLLIBS}
|
---|
148 |
|
---|
149 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
---|
150 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
---|
151 |
|
---|
152 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
153 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
154 |
|
---|
155 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
156 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
157 |
|
---|
158 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
159 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
160 |
|
---|
161 | MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
|
---|
162 | MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
|
---|
163 |
|
---|
164 | MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
|
---|
165 | MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
|
---|
166 |
|
---|
167 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
168 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
169 |
|
---|
170 | SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
|
---|
171 | SingletonTest_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB}
|
---|
172 |
|
---|
173 | StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
|
---|
174 | StackClassUnitTest_LDADD = ${ALLLIBS}
|
---|
175 |
|
---|
176 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
177 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
178 |
|
---|
179 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
180 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
181 |
|
---|
182 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
183 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
184 |
|
---|
185 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
186 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
187 |
|
---|
188 | ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
|
---|
189 | ActionSequenceTest_LDADD = ${ALLLIBS}
|
---|
190 |
|
---|
191 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
192 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
193 |
|
---|
194 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
---|
195 | CacheableTest_LDADD = ${ALLLIBS}
|
---|
196 |
|
---|
197 | AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
|
---|
198 | AtomDescriptorTest_LDADD = ${ALLLIBS}
|
---|
199 |
|
---|
200 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
201 | manipulateAtomsTest_LDADD = ${ALLLIBS}
|
---|
202 |
|
---|
203 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
204 | TestRunner_LDADD = ${ALLLIBS}
|
---|
205 |
|
---|
206 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|
207 |
|
---|