source: src/unittests/Makefile.am@ dbb533

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 dbb533 was dbb533, checked in by Michael Ankele <ankele@…>, 13 years ago

updated Parameters' unittests

  • renamed "xxxUnitTest" -> "xxxTest" (to evade naming conflicts)
  • removed string operations
  • fixed missing template <T>s
  • Property mode set to 100644
File size: 5.3 KB
Line 
1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
7XFAIL_TESTS =
8
9include ../../src/Actions/unittests/Makefile.am
10include ../../src/Analysis/unittests/Makefile.am
11include ../../src/Atom/unittests/Makefile.am
12include ../../src/Descriptors/unittests/Makefile.am
13include ../../src/Element/unittests/Makefile.am
14include ../../src/Filling/unittests/Makefile.am
15include ../../src/Fragmentation/unittests/Makefile.am
16include ../../src/Graph/unittests/Makefile.am
17include ../../src/LinkedCell/unittests/Makefile.am
18include ../../src/Parameters/unittests/Makefile.am
19include ../../src/Parser/unittests/Makefile.am
20include ../../src/RandomNumbers/unittests/Makefile.am
21include ../../src/Shapes/unittests/Makefile.am
22include ../../src/Tesselation/unittests/Makefile.am
23include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
24include ../../src/UIElements/Menu/unittests/Makefile.am
25
26INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
27
28AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
29AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
30
31GENERALTESTS = \
32 AtomIdSetUnitTest \
33 BoxUnitTest \
34 Box_BoundaryConditionsTest \
35 FormulaUnittest \
36 ListOfBondsUnitTest \
37 MoleculeUnitTest \
38 WorldTimeUnitTest
39
40# these ones are checked
41TESTS += $(GENERALTESTS)
42# these ones are built for checking only
43check_PROGRAMS += $(GENERALTESTS)
44# ... and not installed
45noinst_PROGRAMS += $(GENERALTESTS)
46
47if CONDECUT
48noinst_PROGRAMS += TestRunner
49endif
50
51
52BOOST_LIB = \
53 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
54 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
55 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
56
57GENERALLIBS = \
58 ../libMolecuilder.la \
59 ../libMolecuilderHelpers.la \
60 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
61 ${CodePatterns_LIBS} \
62 $(BOOST_LIB)
63
64ALLLIBS = \
65 ../libMolecuilderFilling.la \
66 ../libMolecuilderUI.la \
67 ../libMolecuilder.la \
68 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
69 ${CodePatterns_LIBS} \
70 $(BOOST_LIB)
71
72TESTSOURCES = \
73 ${ACTIONTESTSSOURCES} \
74 ${ANALYSISTESTSSOURCES} \
75 ${DESCRIPTORTESTSSOURCES} \
76 ${ELEMENTTESTSSOURCES} \
77 ${FILLINGTESTSSOURCES} \
78 ${FRAGMENTATIONTESTSSOURCES} \
79 ${GRAPHTESTSSOURCES} \
80 ${LINKEDCELLTESTSSOURCES} \
81 ${LINEARALGEBRATESTSSOURCES} \
82 ${PARAMETERTESTSSOURCES} \
83 ${PARSERTESTSSOURCES} \
84 ${RANDOMNUMBERTESTSSOURCES} \
85 ${SHAPETESTSSOURCES} \
86 ${TESSELATIONTESTSSOURCES} \
87 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
88 ${UIELEMENTSMENUTESTSSOURCES} \
89 stubs/ObserverStub.cpp \
90 AtomIdSetUnitTest.cpp \
91 BoxUnitTest.cpp \
92 Box_BoundaryConditionsUnitTest.cpp \
93 FormulaUnitTest.cpp \
94 ListOfBondsUnitTest.cpp \
95 MoleculeUnitTest.cpp \
96 WorldTimeUnitTest.cpp
97
98TESTHEADERS = \
99 ${ACTIONTESTSHEADERS} \
100 ${ANALYSISTESTSHEADERS} \
101 ${DESCRIPTORTESTSHEADERS} \
102 ${ELEMENTTESTSHEADERS} \
103 ${FILLINGTESTSHEADERS} \
104 ${FRAGMENTATIONTESTSHEADERS} \
105 ${GRAPHTESTSHEADERS} \
106 ${LINKEDCELLTESTHEADERS} \
107 ${LINEARALGEBRATESTSHEADERS} \
108 ${PARAMETERTESTSHEADERS} \
109 ${PARSERTESTSHEADERS} \
110 ${RANDOMNUMBERTESTSHEADERS} \
111 ${SHAPETESTSHEADERS} \
112 ${TESSELATIONTESTSHEADERS} \
113 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
114 ${UIELEMENTSMENUTESTSHEADERS} \
115 stubs/ObserverStub.hpp \
116 AtomIdSetUnitTest.hpp \
117 BoxUnitTest.hpp \
118 Box_BoundaryConditionsUnitTest.hpp \
119 FormulaUnitTest.hpp \
120 ListOfBondsUnitTest.hpp \
121 MoleculeUnitTest.hpp \
122 WorldTimeUnitTest.hpp
123
124
125BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
126 BoxUnitTest.cpp \
127 BoxUnitTest.hpp \
128 stubs/ObserverStub.cpp \
129 stubs/ObserverStub.hpp \
130 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
131 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
132BoxUnitTest_LDADD = \
133 ../libMolecuilder.la \
134 ../libMolecuilderShapes.la \
135 ../libMolecuilderHelpers.la \
136 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
137
138AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
139 AtomIdSetUnitTest.cpp \
140 AtomIdSetUnitTest.hpp
141AtomIdSetUnitTest_LDADD = $(ALLLIBS)
142
143Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
144 Box_BoundaryConditionsUnitTest.cpp \
145 Box_BoundaryConditionsUnitTest.hpp \
146 ../Box_BoundaryConditions.cpp \
147 ../Box_BoundaryConditions.hpp
148Box_BoundaryConditionsTest_LDADD = \
149 ${CodePatterns_LIBS} \
150 $(BOOST_LIB)
151
152FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
153 FormulaUnitTest.cpp \
154 FormulaUnitTest.hpp
155FormulaUnittest_LDADD = $(ALLLIBS)
156
157ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
158 ListOfBondsUnitTest.cpp \
159 ListOfBondsUnitTest.hpp
160ListOfBondsUnitTest_LDADD = $(ALLLIBS)
161
162MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
163 MoleculeUnitTest.cpp \
164 MoleculeUnitTest.hpp
165MoleculeUnitTest_LDADD = \
166 ../libMolecuilderUI.la \
167 ../libMolecuilder.la \
168 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
169
170WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
171 WorldTimeUnitTest.cpp \
172 WorldTimeUnitTest.hpp \
173 ../WorldTime.cpp \
174 ../WorldTime.hpp
175WorldTimeUnitTest_LDADD = ${BOOST_LIB}
176
177
178TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
179TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
180
181#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.