source: src/unittests/Makefile.am@ e85169

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

If no CPPUNIT is found, compilation of unit tests is disabled.

  • uses conditional CONDCPPUNIT.
  • Property mode set to 100644
File size: 5.6 KB
RevLine 
[18eecf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[455573]4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
[53bc04]7XFAIL_TESTS =
[455573]8
[0cfc27]9if CONDCPPUNIT
10
[455573]11include ../../src/Actions/unittests/Makefile.am
[9b5a2c]12include ../../src/Analysis/unittests/Makefile.am
[97c2550]13include ../../src/Atom/unittests/Makefile.am
[455573]14include ../../src/Descriptors/unittests/Makefile.am
[592be9]15include ../../src/Element/unittests/Makefile.am
[600a52]16include ../../src/Filling/unittests/Makefile.am
[feb7df]17include ../../src/Fragmentation/unittests/Makefile.am
[4694df]18include ../../src/Fragmentation/Homology/unittests/Makefile.am
[e920061]19include ../../src/Fragmentation/Summation/unittests/Makefile.am
[e06820]20include ../../src/Fragmentation/SetValues/unittests/Makefile.am
[629e43]21include ../../src/Graph/unittests/Makefile.am
[004d5c]22
23if CONDJOBMARKET
[cc5db5]24include ../../src/Jobs/unittests/Makefile.am
[c889b7]25include ../../src/Jobs/Grid/unittests/Makefile.am
[004d5c]26endif
27
[91f592]28include ../../src/LinkedCell/unittests/Makefile.am
[dbb533]29include ../../src/Parameters/unittests/Makefile.am
[455573]30include ../../src/Parser/unittests/Makefile.am
31include ../../src/RandomNumbers/unittests/Makefile.am
32include ../../src/Shapes/unittests/Makefile.am
[0b004b]33include ../../src/Tesselation/unittests/Makefile.am
[455573]34include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
35include ../../src/UIElements/Menu/unittests/Makefile.am
[c0bccb]36
[004d5c]37INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
[b9907c]38
[f08ae7]39AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
[a0064e]40AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
[be90f1]41
[455573]42GENERALTESTS = \
[5e6534]43 AtomIdSetUnitTest \
[f844ef]44 BoxUnitTest \
[dd067a]45 Box_BoundaryConditionsTest \
[9f632c]46 FormulaUnittest \
[9fb860]47 ListOfBondsUnitTest \
[c67ff9]48 MoleculeUnitTest \
[f649de]49 WorldTimeUnitTest
[4fbca9c]50
[455573]51# these ones are checked
52TESTS += $(GENERALTESTS)
53# these ones are built for checking only
54check_PROGRAMS += $(GENERALTESTS)
55# ... and not installed
[fbbcde]56noinst_PROGRAMS += $(GENERALTESTS)
57
58if CONDECUT
59noinst_PROGRAMS += TestRunner
60endif
61
[b9907c]62
[f08ae7]63BOOST_LIB = \
64 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
[d7d022]65 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
[31ca5f]66 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
67 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
[455573]68
[9d4ff35]69GENERALLIBS = \
70 ../libMolecuilder.la \
71 ../libMolecuilderHelpers.la \
72 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
73 ${CodePatterns_LIBS} \
74 $(BOOST_LIB)
75
[f4b5b7]76ALLLIBS = \
[600a52]77 ../libMolecuilderFilling.la \
[455573]78 ../libMolecuilderUI.la \
[eb0d77]79 ../libMolecuilder.la
80if CONDJOBMARKET
81ALLLIBS += \
82 ../libMolecuilderJobs.la
83endif
84ALLLIBS += \
[455573]85 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
86 ${CodePatterns_LIBS} \
87 $(BOOST_LIB)
[4d9c01]88
[9b6b2f]89TESTSOURCES = \
[455573]90 ${ACTIONTESTSSOURCES} \
[9b5a2c]91 ${ANALYSISTESTSSOURCES} \
[455573]92 ${DESCRIPTORTESTSSOURCES} \
[592be9]93 ${ELEMENTTESTSSOURCES} \
[600a52]94 ${FILLINGTESTSSOURCES} \
[feb7df]95 ${FRAGMENTATIONTESTSSOURCES} \
[629e43]96 ${GRAPHTESTSSOURCES} \
[794bc8]97 ${LINKEDCELLTESTSSOURCES} \
[455573]98 ${LINEARALGEBRATESTSSOURCES} \
[dbb533]99 ${PARAMETERTESTSSOURCES} \
[455573]100 ${PARSERTESTSSOURCES} \
101 ${RANDOMNUMBERTESTSSOURCES} \
102 ${SHAPETESTSSOURCES} \
[0b004b]103 ${TESSELATIONTESTSSOURCES} \
[455573]104 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
105 ${UIELEMENTSMENUTESTSSOURCES} \
[99f4ee]106 stubs/ObserverStub.cpp \
[5e6534]107 AtomIdSetUnitTest.cpp \
[f844ef]108 BoxUnitTest.cpp \
[dd067a]109 Box_BoundaryConditionsUnitTest.cpp \
[f844ef]110 FormulaUnitTest.cpp \
111 ListOfBondsUnitTest.cpp \
[c67ff9]112 MoleculeUnitTest.cpp \
[f649de]113 WorldTimeUnitTest.cpp
[9b6b2f]114
115TESTHEADERS = \
[455573]116 ${ACTIONTESTSHEADERS} \
[9b5a2c]117 ${ANALYSISTESTSHEADERS} \
[455573]118 ${DESCRIPTORTESTSHEADERS} \
[592be9]119 ${ELEMENTTESTSHEADERS} \
[600a52]120 ${FILLINGTESTSHEADERS} \
[feb7df]121 ${FRAGMENTATIONTESTSHEADERS} \
[629e43]122 ${GRAPHTESTSHEADERS} \
[794bc8]123 ${LINKEDCELLTESTHEADERS} \
[455573]124 ${LINEARALGEBRATESTSHEADERS} \
[dbb533]125 ${PARAMETERTESTSHEADERS} \
[455573]126 ${PARSERTESTSHEADERS} \
127 ${RANDOMNUMBERTESTSHEADERS} \
128 ${SHAPETESTSHEADERS} \
[0b004b]129 ${TESSELATIONTESTSHEADERS} \
[455573]130 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
131 ${UIELEMENTSMENUTESTSHEADERS} \
[99f4ee]132 stubs/ObserverStub.hpp \
[5e6534]133 AtomIdSetUnitTest.hpp \
[f844ef]134 BoxUnitTest.hpp \
[dd067a]135 Box_BoundaryConditionsUnitTest.hpp \
[f844ef]136 FormulaUnitTest.hpp \
137 ListOfBondsUnitTest.hpp \
[c67ff9]138 MoleculeUnitTest.hpp \
[bf4b9f]139 WorldTimeUnitTest.hpp
[9fb860]140
[9b6b2f]141
[f844ef]142BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
143 BoxUnitTest.cpp \
[99f4ee]144 BoxUnitTest.hpp \
145 stubs/ObserverStub.cpp \
[da1e92]146 stubs/ObserverStub.hpp \
147 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
148 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
[9d4ff35]149BoxUnitTest_LDADD = \
150 ../libMolecuilder.la \
151 ../libMolecuilderShapes.la \
152 ../libMolecuilderHelpers.la \
[31ca5f]153 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
154 ${CodePatterns_LIBS}
[77bc4f]155
[5e6534]156AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
157 AtomIdSetUnitTest.cpp \
158 AtomIdSetUnitTest.hpp
159AtomIdSetUnitTest_LDADD = $(ALLLIBS)
160
[dd067a]161Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
162 Box_BoundaryConditionsUnitTest.cpp \
163 Box_BoundaryConditionsUnitTest.hpp \
164 ../Box_BoundaryConditions.cpp \
165 ../Box_BoundaryConditions.hpp
166Box_BoundaryConditionsTest_LDADD = \
167 ${CodePatterns_LIBS} \
168 $(BOOST_LIB)
169
[f844ef]170FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
171 FormulaUnitTest.cpp \
172 FormulaUnitTest.hpp
[9d4ff35]173FormulaUnittest_LDADD = $(ALLLIBS)
[9f632c]174
[f844ef]175ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
176 ListOfBondsUnitTest.cpp \
177 ListOfBondsUnitTest.hpp
[9d4ff35]178ListOfBondsUnitTest_LDADD = $(ALLLIBS)
[266237]179
[c67ff9]180MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
181 MoleculeUnitTest.cpp \
182 MoleculeUnitTest.hpp
[eb0d77]183MoleculeUnitTest_LDADD = $(ALLLIBS)
[c67ff9]184
[f649de]185WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
186 WorldTimeUnitTest.cpp \
187 WorldTimeUnitTest.hpp \
188 ../WorldTime.cpp \
189 ../WorldTime.hpp
190WorldTimeUnitTest_LDADD = ${BOOST_LIB}
191
192
[36166d]193TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]194TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]195
[18eecf]196#AUTOMAKE_OPTIONS = parallel-tests
[0cfc27]197
198endif
Note: See TracBrowser for help on using the repository browser.