source: molecuilder/src/unittests/Makefile.am@ 7a8319

Last change on this file since 7a8319 was 075729, checked in by Frederik Heber <heber@…>, 15 years ago

Merge branch 'Analysis_PairCorrelation' into StructureRefactoring

Conflicts:

molecuilder/src/Makefile.am
molecuilder/src/World.cpp
molecuilder/src/World.hpp
molecuilder/src/boundary.cpp
molecuilder/src/builder.cpp
molecuilder/src/log.cpp
molecuilder/src/moleculelist.cpp
molecuilder/src/periodentafel.cpp
molecuilder/src/tesselation.cpp
molecuilder/src/unittests/AnalysisCorrelationToSurfaceUnitTest.cpp
molecuilder/src/unittests/Makefile.am
molecuilder/src/unittests/bondgraphunittest.cpp
molecuilder/src/unittests/gslvectorunittest.cpp
molecuilder/src/unittests/logunittest.cpp
molecuilder/src/unittests/tesselation_boundarytriangleunittest.hpp
molecuilder/src/vector.cpp
molecuilder/tests/Tesselations/defs.in

Conflicts have been many and too numerous to listen here, just the few general cases

  • new molecule() replaced by World::getInstance().createMolecule()
  • new atom() replaced by World::getInstance().createAtom() where appropriate.
  • Some DoLog()s added interfered with changes to the message produced by Log() << Verbose(.) << ...
  • DoLog() has been erroneously added to TestRunner.cpp as well, there cout is appropriate
  • ...

Additionally, there was a bug in atom::clone(), sort was set to atom::nr of the atom to clone not of the clone itself. This caused a failure of the fragmentation.

This merge has been fully checked from a clean build directory with subsequent configure,make all install and make check.
It configures, compiles and runs all test cases and the test suite without errors.

Signed-off-by: Frederik Heber <heber@…>

  • Property mode set to 100644
File size: 7.3 KB
Line 
1INCLUDES = -I$(top_srcdir)/src
2
3AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
4AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
5
6MENUTESTS = \
7 ActionSequenceTest
8
9TESTS = \
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
42check_PROGRAMS = $(TESTS)
43noinst_PROGRAMS = $(TESTS) TestRunner
44
45GSLLIBS = ../libgslwrapper.a
46ALLLIBS = ../libmolecuilder.a ${GSLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
47
48TESTSOURCES = \
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
80TESTHEADERS = \
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
113ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
114ActOnAllUnitTest_LDADD = ${ALLLIBS}
115
116AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
117AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
118
119AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
120AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
121
122AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
123AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
124
125AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
126AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
127
128atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
129atomsCalculationTest_LDADD = ${ALLLIBS}
130
131BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
132BondGraphUnitTest_LDADD = ${ALLLIBS}
133
134CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
135CountBondsUnitTest_LDADD = ${ALLLIBS}
136
137GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
138GSLMatrixSymmetricUnitTest_LDADD = ${GSLLIBS}
139
140GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
141GSLMatrixUnitTest_LDADD = ${GSLLIBS}
142
143GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
144GSLVectorUnitTest_LDADD = ${GSLLIBS}
145
146InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
147InfoUnitTest_LDADD = ${ALLLIBS}
148
149LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
150LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
151
152LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
153LinkedCellUnitTest_LDADD = ${ALLLIBS}
154
155ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
156ListOfBondsUnitTest_LDADD = ${ALLLIBS}
157
158LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
159LogUnitTest_LDADD = ${ALLLIBS}
160
161MemoryAllocatorUnitTest_SOURCES = UnitTestMain.cpp memoryallocatorunittest.cpp memoryallocatorunittest.hpp
162MemoryAllocatorUnitTest_LDADD = ${ALLLIBS}
163
164MemoryUsageObserverUnitTest_SOURCES = UnitTestMain.cpp memoryusageobserverunittest.cpp memoryusageobserverunittest.hpp
165MemoryUsageObserverUnitTest_LDADD = ${ALLLIBS}
166
167MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
168MoleculeDescriptorTest_LDADD = ${ALLLIBS}
169
170SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
171SingletonTest_LDADD = $(BOOST_LIB) ${BOOST_THREAD_LIB}
172
173StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
174StackClassUnitTest_LDADD = ${ALLLIBS}
175
176TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
177TesselationUnitTest_LDADD = ${ALLLIBS}
178
179Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
180Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
181
182Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
183Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
184
185VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
186VectorUnitTest_LDADD = ${ALLLIBS}
187
188ActionSequenceTest_SOURCES = UnitTestMain.cpp ../../../TestRunnerClient.hpp ActionSequenceTest.cpp ActionSequenceTest.hpp
189ActionSequenceTest_LDADD = ${ALLLIBS}
190
191ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
192ObserverTest_LDADD = ${ALLLIBS}
193
194CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
195CacheableTest_LDADD = ${ALLLIBS}
196
197AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
198AtomDescriptorTest_LDADD = ${ALLLIBS}
199
200manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
201manipulateAtomsTest_LDADD = ${ALLLIBS}
202
203TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
204TestRunner_LDADD = ${ALLLIBS}
205
206#AUTOMAKE_OPTIONS = parallel-tests
207
Note: See TracBrowser for help on using the repository browser.