source: src/unittests/Makefile.am@ 76e63d

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

Added PairPotential_HarmonicUnitTest.

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