source: src/unittests/Makefile.am@ 9ee38b

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since 9ee38b was 9ee38b, checked in by Frederik Heber <heber@…>, 15 years ago

Extended macro framework.

Extensions:

  • all central definitions reside in .def files
    • This if file is necessary because we need the definitions at two places: hpp and cpp
    • And as we always use the same define names, we have to undefine them at the end of both (otherwise we get compiler warnings and are prone to dumb mistakes of forgotten defines seeming present)
  • the .hpp is just a very tiny header, that should be possible to batch- construct inside Makefile as well
  • .cpp includes some Action_...hpp files and implements the function

For later (i.e. when ActionRegistry becomes prototype copier)

  • instead of waiting for clone(), for now we simply call the prototype.
  • in the action command we must not yet prefix paramreferences with "params."

Changes:

  • Dialog::query<> is a template which is specialized for every present query...() function. We need it to automatize fillDialog()
  • all AnalysisAction's are now converted, i.e. framework is functional with parameters and queries (MolecularVolume had none).
  • Property mode set to 100644
File size: 9.0 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4INCLUDES = -I$(top_srcdir)/src
5
6AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
7AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
8
9TESTS = \
10 ActionSequenceTest \
11 ActOnAllUnitTest \
12 AnalysisBondsUnitTests \
13 AnalysisCorrelationToPointUnitTest \
14 AnalysisCorrelationToSurfaceUnitTest \
15 AnalysisPairCorrelationUnitTest \
16 atomsCalculationTest \
17 AtomDescriptorTest \
18 BaseShapesUnitTest \
19 BondGraphUnitTest \
20 BoxUnittest \
21 CacheableTest \
22 CountBondsUnitTest \
23 FormulaUnittest \
24 GSLMatrixSymmetricUnitTest \
25 GSLMatrixUnitTest \
26 GSLVectorUnitTest \
27 InfoUnitTest \
28 LinearSystemOfEquationsUnitTest \
29 LineUnittest \
30 LinkedCellUnitTest \
31 ListOfBondsUnitTest \
32 LogUnitTest \
33 manipulateAtomsTest \
34 MatrixUnittest \
35 MoleculeDescriptorTest \
36 ObserverTest \
37 ParserUnitTest \
38 periodentafelTest \
39 PlaneUnittest \
40 ShapeUnittest \
41 SingletonTest \
42 StackClassUnitTest \
43 TesselationUnitTest \
44 Tesselation_BoundaryTriangleUnitTest \
45 Tesselation_InOutsideUnitTest \
46 VectorUnitTest
47
48
49check_PROGRAMS = $(TESTS)
50noinst_PROGRAMS = $(TESTS) TestRunner
51
52GSLLIBS = \
53 ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
54 ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
55 ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
56 $(BOOST_LIB) \
57 ${BOOST_THREAD_LIB}
58ALLLIBS = \
59 ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
60 ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
61 ${PARSERLIBS} \
62 ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
63 ${GSLLIBS} \
64 ${BOOST_PROGRAM_OPTIONS_LIB}
65PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
66UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
67
68TESTSOURCES = \
69 ActOnAllUnitTest.cpp \
70 ActionSequenceTest.cpp \
71 analysisbondsunittest.cpp \
72 AnalysisCorrelationToPointUnitTest.cpp \
73 AnalysisCorrelationToSurfaceUnitTest.cpp \
74 AnalysisPairCorrelationUnitTest.cpp \
75 AtomDescriptorTest.cpp \
76 atomsCalculationTest.cpp \
77 BaseShapesUnittest.cpp \
78 bondgraphunittest.cpp \
79 BoxUnittest.cpp \
80 CacheableTest.cpp \
81 CountBondsUnitTest.cpp \
82 FormulaUnittest.cpp \
83 gslmatrixsymmetricunittest.cpp \
84 gslmatrixunittest.cpp \
85 gslvectorunittest.cpp \
86 infounittest.cpp \
87 linearsystemofequationsunittest.cpp \
88 LineUnittest.cpp \
89 LinkedCellUnitTest.cpp \
90 listofbondsunittest.cpp \
91 logunittest.cpp \
92 MatrixUnittest.cpp \
93 manipulateAtomsTest.cpp \
94 MoleculeDescriptorTest.cpp \
95 ObserverTest.cpp \
96 ParserUnitTest.cpp \
97 periodentafelTest.cpp \
98 PlaneUnittest.cpp \
99 ShapeUnittest.cpp \
100 SingletonTest.cpp \
101 stackclassunittest.cpp \
102 tesselationunittest.cpp \
103 tesselation_boundarytriangleunittest.cpp \
104 tesselation_insideoutsideunittest.cpp \
105 vectorunittest.cpp
106
107TESTHEADERS = \
108 ActOnAllUnitTest.hpp \
109 ActionSequenceTest.hpp \
110 analysisbondsunittest.hpp \
111 AnalysisCorrelationToPointUnitTest.hpp \
112 AnalysisCorrelationToSurfaceUnitTest.hpp \
113 AnalysisPairCorrelationUnitTest.hpp \
114 AtomDescriptorTest.hpp \
115 atomsCalculationTest.hpp \
116 BaseShapesUnittest.hpp \
117 bondgraphunittest.hpp \
118 BoxUnittest.hpp \
119 CacheableTest.hpp \
120 CountBondsUnitTest.hpp \
121 FormulaUnittest.hpp \
122 gslmatrixsymmetricunittest.hpp \
123 gslmatrixunittest.hpp \
124 gslvectorunittest.hpp \
125 infounittest.hpp \
126 linearsystemofequationsunittest.hpp \
127 LineUnittest.hpp \
128 LinkedCellUnitTest.hpp \
129 listofbondsunittest.hpp \
130 logunittest.hpp \
131 manipulateAtomsTest.hpp \
132 MatrixUnittest.hpp \
133 MoleculeDescriptorTest.hpp \
134 periodentafelTest.hpp \
135 ParserUnitTest.hpp \
136 PlaneUnittest.hpp \
137 ObserverTest.hpp \
138 SingletonTest.hpp \
139 stackclassunittest.hpp \
140 tesselationunittest.hpp \
141 tesselation_boundarytriangleunittest.hpp \
142 tesselation_insideoutsideunittest.hpp \
143 vectorunittest.hpp
144
145
146ActionSequenceTest_SOURCES = UnitTestMain.cpp ActionSequenceTest.cpp ActionSequenceTest.hpp
147ActionSequenceTest_LDADD = ${UILIBS} ${ALLLIBS}
148
149ActOnAllUnitTest_SOURCES = UnitTestMain.cpp ../test/ActOnAllTest.hpp ActOnAllUnitTest.cpp ActOnAllUnitTest.hpp
150ActOnAllUnitTest_LDADD = ${ALLLIBS}
151
152AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
153AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
154
155AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
156AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
157
158AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
159AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
160
161AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
162AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
163
164atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
165atomsCalculationTest_LDADD = ${ALLLIBS}
166
167AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
168AtomDescriptorTest_LDADD = ${ALLLIBS}
169
170BaseShapesUnitTest_SOURCES = UnitTestMain.cpp BaseShapesUnittest.cpp BaseShapesUnittest.hpp
171BaseShapesUnitTest_LDADD = ${ALLLIBS}
172
173BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
174BondGraphUnitTest_LDADD = ${ALLLIBS}
175
176BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
177BoxUnittest_LDADD = ${ALLLIBS}
178
179CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
180CacheableTest_LDADD = ${ALLLIBS}
181
182CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
183CountBondsUnitTest_LDADD = ${ALLLIBS}
184
185FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
186FormulaUnittest_LDADD = ${ALLLIBS}
187
188GSLMatrixSymmetricUnitTest_SOURCES = UnitTestMain.cpp gslmatrixsymmetricunittest.cpp gslmatrixsymmetricunittest.hpp
189GSLMatrixSymmetricUnitTest_LDADD = ${ALLLIBS}
190
191GSLMatrixUnitTest_SOURCES = UnitTestMain.cpp gslmatrixunittest.cpp gslmatrixunittest.hpp
192GSLMatrixUnitTest_LDADD = ${ALLLIBS}
193
194GSLVectorUnitTest_SOURCES = UnitTestMain.cpp gslvectorunittest.cpp gslvectorunittest.hpp
195GSLVectorUnitTest_LDADD = ${ALLLIBS}
196
197InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
198InfoUnitTest_LDADD = ${ALLLIBS}
199
200LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
201LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
202
203LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
204LineUnittest_LDADD = ${ALLLIBS}
205
206LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
207LinkedCellUnitTest_LDADD = ${ALLLIBS}
208
209ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
210ListOfBondsUnitTest_LDADD = ${ALLLIBS}
211
212LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
213LogUnitTest_LDADD = ${ALLLIBS}
214
215manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
216manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
217
218MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
219MatrixUnittest_LDADD = ${ALLLIBS}
220
221MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
222MoleculeDescriptorTest_LDADD = ${ALLLIBS}
223
224ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
225ObserverTest_LDADD = ${ALLLIBS}
226
227ParserUnitTest_SOURCES = UnitTestMain.cpp ParserUnitTest.cpp ParserUnitTest.hpp
228ParserUnitTest_LDADD = ${ALLLIBS}
229
230periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
231periodentafelTest_LDADD = ${ALLLIBS}
232
233PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
234PlaneUnittest_LDADD = ${ALLLIBS}
235
236ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
237ShapeUnittest_LDADD = ${ALLLIBS}
238
239SingletonTest_SOURCES = UnitTestMain.cpp SingletonTest.cpp SingletonTest.hpp
240SingletonTest_LDADD = ${ALLLIBS} $(BOOST_LIB) ${BOOST_THREAD_LIB}
241
242StackClassUnitTest_SOURCES = UnitTestMain.cpp stackclassunittest.cpp stackclassunittest.hpp
243StackClassUnitTest_LDADD = ${ALLLIBS}
244
245TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
246TesselationUnitTest_LDADD = ${ALLLIBS}
247
248Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
249Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
250
251Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
252Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
253
254TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
255TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
256
257VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
258VectorUnitTest_LDADD = ${ALLLIBS}
259
260#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.