source: src/unittests/Makefile.am@ c4fd03

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 c4fd03 was c4fd03, checked in by Frederik Heber <heber@…>, 12 years ago

Added rudimentary Histogram class.

  • we still lack operator+=() and operator-=().
  • this is supposed to take up the range of eigenvalues and allow to get a sampled represenation of the density of states via the OrthogonalSummation.
  • added unit test.
  • Property mode set to 100644
File size: 5.5 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/Fragmentation/Summation/unittests/Makefile.am
17include ../../src/Fragmentation/Histogram/unittests/Makefile.am
18include ../../src/Graph/unittests/Makefile.am
19
20if CONDJOBMARKET
21include ../../src/Jobs/unittests/Makefile.am
22endif
23
24include ../../src/LinkedCell/unittests/Makefile.am
25include ../../src/Parameters/unittests/Makefile.am
26include ../../src/Parser/unittests/Makefile.am
27include ../../src/RandomNumbers/unittests/Makefile.am
28include ../../src/Shapes/unittests/Makefile.am
29include ../../src/Tesselation/unittests/Makefile.am
30include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
31include ../../src/UIElements/Menu/unittests/Makefile.am
32
33INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
34
35AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
36AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
37
38GENERALTESTS = \
39 AtomIdSetUnitTest \
40 BoxUnitTest \
41 Box_BoundaryConditionsTest \
42 FormulaUnittest \
43 ListOfBondsUnitTest \
44 MoleculeUnitTest \
45 WorldTimeUnitTest
46
47# these ones are checked
48TESTS += $(GENERALTESTS)
49# these ones are built for checking only
50check_PROGRAMS += $(GENERALTESTS)
51# ... and not installed
52noinst_PROGRAMS += $(GENERALTESTS)
53
54if CONDECUT
55noinst_PROGRAMS += TestRunner
56endif
57
58
59BOOST_LIB = \
60 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
61 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
62 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
63 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
64
65GENERALLIBS = \
66 ../libMolecuilder.la \
67 ../libMolecuilderHelpers.la \
68 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
69 ${CodePatterns_LIBS} \
70 $(BOOST_LIB)
71
72ALLLIBS = \
73 ../libMolecuilderFilling.la \
74 ../libMolecuilderUI.la \
75 ../libMolecuilder.la
76if CONDJOBMARKET
77ALLLIBS += \
78 ../libMolecuilderJobs.la
79endif
80ALLLIBS += \
81 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
82 ${CodePatterns_LIBS} \
83 $(BOOST_LIB)
84
85TESTSOURCES = \
86 ${ACTIONTESTSSOURCES} \
87 ${ANALYSISTESTSSOURCES} \
88 ${DESCRIPTORTESTSSOURCES} \
89 ${ELEMENTTESTSSOURCES} \
90 ${FILLINGTESTSSOURCES} \
91 ${FRAGMENTATIONTESTSSOURCES} \
92 ${GRAPHTESTSSOURCES} \
93 ${LINKEDCELLTESTSSOURCES} \
94 ${LINEARALGEBRATESTSSOURCES} \
95 ${PARAMETERTESTSSOURCES} \
96 ${PARSERTESTSSOURCES} \
97 ${RANDOMNUMBERTESTSSOURCES} \
98 ${SHAPETESTSSOURCES} \
99 ${TESSELATIONTESTSSOURCES} \
100 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
101 ${UIELEMENTSMENUTESTSSOURCES} \
102 stubs/ObserverStub.cpp \
103 AtomIdSetUnitTest.cpp \
104 BoxUnitTest.cpp \
105 Box_BoundaryConditionsUnitTest.cpp \
106 FormulaUnitTest.cpp \
107 ListOfBondsUnitTest.cpp \
108 MoleculeUnitTest.cpp \
109 WorldTimeUnitTest.cpp
110
111TESTHEADERS = \
112 ${ACTIONTESTSHEADERS} \
113 ${ANALYSISTESTSHEADERS} \
114 ${DESCRIPTORTESTSHEADERS} \
115 ${ELEMENTTESTSHEADERS} \
116 ${FILLINGTESTSHEADERS} \
117 ${FRAGMENTATIONTESTSHEADERS} \
118 ${GRAPHTESTSHEADERS} \
119 ${LINKEDCELLTESTHEADERS} \
120 ${LINEARALGEBRATESTSHEADERS} \
121 ${PARAMETERTESTSHEADERS} \
122 ${PARSERTESTSHEADERS} \
123 ${RANDOMNUMBERTESTSHEADERS} \
124 ${SHAPETESTSHEADERS} \
125 ${TESSELATIONTESTSHEADERS} \
126 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
127 ${UIELEMENTSMENUTESTSHEADERS} \
128 stubs/ObserverStub.hpp \
129 AtomIdSetUnitTest.hpp \
130 BoxUnitTest.hpp \
131 Box_BoundaryConditionsUnitTest.hpp \
132 FormulaUnitTest.hpp \
133 ListOfBondsUnitTest.hpp \
134 MoleculeUnitTest.hpp \
135 WorldTimeUnitTest.hpp
136
137
138BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
139 BoxUnitTest.cpp \
140 BoxUnitTest.hpp \
141 stubs/ObserverStub.cpp \
142 stubs/ObserverStub.hpp \
143 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
144 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
145BoxUnitTest_LDADD = \
146 ../libMolecuilder.la \
147 ../libMolecuilderShapes.la \
148 ../libMolecuilderHelpers.la \
149 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
150 ${CodePatterns_LIBS}
151
152AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
153 AtomIdSetUnitTest.cpp \
154 AtomIdSetUnitTest.hpp
155AtomIdSetUnitTest_LDADD = $(ALLLIBS)
156
157Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
158 Box_BoundaryConditionsUnitTest.cpp \
159 Box_BoundaryConditionsUnitTest.hpp \
160 ../Box_BoundaryConditions.cpp \
161 ../Box_BoundaryConditions.hpp
162Box_BoundaryConditionsTest_LDADD = \
163 ${CodePatterns_LIBS} \
164 $(BOOST_LIB)
165
166FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
167 FormulaUnitTest.cpp \
168 FormulaUnitTest.hpp
169FormulaUnittest_LDADD = $(ALLLIBS)
170
171ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
172 ListOfBondsUnitTest.cpp \
173 ListOfBondsUnitTest.hpp
174ListOfBondsUnitTest_LDADD = $(ALLLIBS)
175
176MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
177 MoleculeUnitTest.cpp \
178 MoleculeUnitTest.hpp
179MoleculeUnitTest_LDADD = $(ALLLIBS)
180
181WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
182 WorldTimeUnitTest.cpp \
183 WorldTimeUnitTest.hpp \
184 ../WorldTime.cpp \
185 ../WorldTime.hpp
186WorldTimeUnitTest_LDADD = ${BOOST_LIB}
187
188
189TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
190TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
191
192#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.