source: src/unittests/Makefile.am@ bae8b0

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

Extension of usage of Tsuna's boost.m4 macro.

  • boost.m4 from https://github.com/tsuna/boost.m4.git (serial 16 + updates).
  • LinearAlgebra does not depend on any boost libs only two headers and CodePatterns.
  • Presence and Usability of every boost header and lib is now checked.
  • Using updated ax_codepatterns.m4.
  • FIX: boost has not been possible to link with if not residing under some default path. This is now possible.
  • Property mode set to 100644
File size: 6.0 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 =
7
8include ../../src/Actions/unittests/Makefile.am
9include ../../src/Descriptors/unittests/Makefile.am
10include ../../src/Parser/unittests/Makefile.am
11include ../../src/RandomNumbers/unittests/Makefile.am
12include ../../src/Shapes/unittests/Makefile.am
13include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
14include ../../src/UIElements/Menu/unittests/Makefile.am
15
16INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
17
18AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
19AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
20
21GENERALTESTS = \
22 AnalysisBondsUnitTest \
23 AnalysisCorrelationToPointUnitTest \
24 AnalysisCorrelationToSurfaceUnitTest \
25 AnalysisPairCorrelationUnitTest \
26 BondGraphUnitTest \
27 BoxUnitTest \
28 CountBondsUnitTest \
29 FormulaUnittest \
30 LinkedCellUnitTest \
31 ListOfBondsUnitTest \
32 PeriodentafelUnitTest \
33 TesselationUnitTest \
34 Tesselation_BoundaryTriangleUnitTest \
35 Tesselation_InOutsideUnitTest \
36 WorldTimeUnitTest
37
38# these ones are checked
39TESTS += $(GENERALTESTS)
40# these ones are built for checking only
41check_PROGRAMS += $(GENERALTESTS)
42# ... and not installed
43noinst_PROGRAMS += $(GENERALTESTS) TestRunner
44
45BOOST_LIB = \
46 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
47 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS)
48
49ALLLIBS = \
50 ../libMolecuilderUI.la \
51 ../libMolecuilder.la \
52 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
53 ${CodePatterns_LIBS} \
54 $(BOOST_LIB)
55
56TESTSOURCES = \
57 ${ACTIONTESTSSOURCES} \
58 ${DESCRIPTORTESTSSOURCES} \
59 ${LINEARALGEBRATESTSSOURCES} \
60 ${PARSERTESTSSOURCES} \
61 ${RANDOMNUMBERTESTSSOURCES} \
62 ${SHAPETESTSSOURCES} \
63 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
64 ${UIELEMENTSMENUTESTSSOURCES} \
65 AnalysisBondsUnitTest.cpp \
66 AnalysisCorrelationToPointUnitTest.cpp \
67 AnalysisCorrelationToSurfaceUnitTest.cpp \
68 AnalysisPairCorrelationUnitTest.cpp \
69 BondGraphUnitTest.cpp \
70 BoxUnitTest.cpp \
71 CountBondsUnitTest.cpp \
72 FormulaUnitTest.cpp \
73 LinkedCellUnitTest.cpp \
74 ListOfBondsUnitTest.cpp \
75 PeriodentafelUnitTest.cpp \
76 TesselationUnitTest.cpp \
77 Tesselation_BoundaryTriangleUnitTest.cpp \
78 Tesselation_InsideOutsideUnitTest.cpp \
79 WorldTimeUnitTest.cpp
80
81TESTHEADERS = \
82 ${ACTIONTESTSHEADERS} \
83 ${DESCRIPTORTESTSHEADERS} \
84 ${LINEARALGEBRATESTSHEADERS} \
85 ${PARSERTESTSHEADERS} \
86 ${RANDOMNUMBERTESTSHEADERS} \
87 ${SHAPETESTSHEADERS} \
88 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
89 ${UIELEMENTSMENUTESTSHEADERS} \
90 AnalysisBondsUnitTest.hpp \
91 AnalysisCorrelationToPointUnitTest.hpp \
92 AnalysisCorrelationToSurfaceUnitTest.hpp \
93 AnalysisPairCorrelationUnitTest.hpp \
94 BondGraphUnitTest.hpp \
95 BoxUnitTest.hpp \
96 CountBondsUnitTest.hpp \
97 FormulaUnitTest.hpp \
98 LinkedCellUnitTest.hpp \
99 ListOfBondsUnitTest.hpp \
100 PeriodentafelUnitTest.hpp \
101 TesselationUnitTest.hpp \
102 Tesselation_BoundaryTriangleUnitTest.hpp \
103 Tesselation_InsideOutsideUnitTest.hpp \
104 WorldTimeUnitTest.hpp
105
106
107AnalysisBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
108 AnalysisBondsUnitTest.cpp \
109 AnalysisBondsUnitTest.hpp
110AnalysisBondsUnitTest_LDADD = ${ALLLIBS}
111
112AnalysisCorrelationToPointUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
113 AnalysisCorrelationToPointUnitTest.cpp \
114 AnalysisCorrelationToPointUnitTest.hpp
115AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
116
117AnalysisCorrelationToSurfaceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
118 AnalysisCorrelationToSurfaceUnitTest.cpp \
119 AnalysisCorrelationToSurfaceUnitTest.hpp
120AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
121
122AnalysisPairCorrelationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
123 AnalysisPairCorrelationUnitTest.cpp \
124 AnalysisPairCorrelationUnitTest.hpp
125AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
126
127BondGraphUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
128 BondGraphUnitTest.cpp \
129 BondGraphUnitTest.hpp
130BondGraphUnitTest_LDADD = ${ALLLIBS}
131
132BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
133 BoxUnitTest.cpp \
134 BoxUnitTest.hpp
135BoxUnitTest_LDADD = ${ALLLIBS}
136
137CountBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
138 CountBondsUnitTest.cpp \
139 CountBondsUnitTest.hpp
140CountBondsUnitTest_LDADD = ${ALLLIBS}
141
142FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
143 FormulaUnitTest.cpp \
144 FormulaUnitTest.hpp
145FormulaUnittest_LDADD = ${ALLLIBS}
146
147LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
148 LinkedCellUnitTest.cpp \
149 LinkedCellUnitTest.hpp
150LinkedCellUnitTest_LDADD = ${ALLLIBS}
151
152ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
153 ListOfBondsUnitTest.cpp \
154 ListOfBondsUnitTest.hpp
155ListOfBondsUnitTest_LDADD = ${ALLLIBS}
156
157PeriodentafelUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
158 PeriodentafelUnitTest.cpp \
159 PeriodentafelUnitTest.hpp
160PeriodentafelUnitTest_LDADD = ${ALLLIBS}
161
162TesselationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
163 TesselationUnitTest.cpp \
164 TesselationUnitTest.hpp
165TesselationUnitTest_LDADD = ${ALLLIBS}
166
167Tesselation_BoundaryTriangleUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
168 Tesselation_BoundaryTriangleUnitTest.cpp \
169 Tesselation_BoundaryTriangleUnitTest.hpp
170Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
171
172Tesselation_InOutsideUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
173 Tesselation_InsideOutsideUnitTest.cpp \
174 Tesselation_InsideOutsideUnitTest.hpp
175Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
176
177WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
178 WorldTimeUnitTest.cpp \
179 WorldTimeUnitTest.hpp \
180 ../WorldTime.cpp \
181 ../WorldTime.hpp
182WorldTimeUnitTest_LDADD = ${BOOST_LIB}
183
184
185TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
186TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
187
188#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.