source: src/unittests/Makefile.am@ dba7b0

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

Shape::getVolume() and ::getSurfaceArea() use Approximators if implementation returns -1.

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