source: src/unittests/Makefile.am@ c67ff9

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

Added molecule::getBoundingShape() and unit test MoleculeUnitTest on it.

  • We now simply have a function to get a sphere as a suitable bounding shape which allows easy construction of a new cluster.
  • Property mode set to 100644
File size: 4.9 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/Fragmentation/unittests/Makefile.am
15include ../../src/Graph/unittests/Makefile.am
16include ../../src/LinkedCell/unittests/Makefile.am
17include ../../src/Parser/unittests/Makefile.am
18include ../../src/RandomNumbers/unittests/Makefile.am
19include ../../src/Shapes/unittests/Makefile.am
20include ../../src/Tesselation/unittests/Makefile.am
21include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
22include ../../src/UIElements/Menu/unittests/Makefile.am
23
24INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
25
26AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
27AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
28
29GENERALTESTS = \
30 AtomIdSetUnitTest \
31 BoxUnitTest \
32 Box_BoundaryConditionsTest \
33 FormulaUnittest \
34 ListOfBondsUnitTest \
35 MoleculeUnitTest \
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)
44
45if CONDECUT
46noinst_PROGRAMS += TestRunner
47endif
48
49
50BOOST_LIB = \
51 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
52 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
53 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
54
55GENERALLIBS = \
56 ../libMolecuilder.la \
57 ../libMolecuilderHelpers.la \
58 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
59 ${CodePatterns_LIBS} \
60 $(BOOST_LIB)
61
62ALLLIBS = \
63 ../libMolecuilderUI.la \
64 ../libMolecuilder.la \
65 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
66 ${CodePatterns_LIBS} \
67 $(BOOST_LIB)
68
69TESTSOURCES = \
70 ${ACTIONTESTSSOURCES} \
71 ${ANALYSISTESTSSOURCES} \
72 ${DESCRIPTORTESTSSOURCES} \
73 ${ELEMENTTESTSSOURCES} \
74 ${FRAGMENTATIONTESTSSOURCES} \
75 ${GRAPHTESTSSOURCES} \
76 ${LINKEDCELLTESTSSOURCES} \
77 ${LINEARALGEBRATESTSSOURCES} \
78 ${PARSERTESTSSOURCES} \
79 ${RANDOMNUMBERTESTSSOURCES} \
80 ${SHAPETESTSSOURCES} \
81 ${TESSELATIONTESTSSOURCES} \
82 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
83 ${UIELEMENTSMENUTESTSSOURCES} \
84 stubs/ObserverStub.cpp \
85 AtomIdSetUnitTest.cpp \
86 BoxUnitTest.cpp \
87 Box_BoundaryConditionsUnitTest.cpp \
88 FormulaUnitTest.cpp \
89 ListOfBondsUnitTest.cpp \
90 MoleculeUnitTest.cpp \
91 WorldTimeUnitTest.cpp
92
93TESTHEADERS = \
94 ${ACTIONTESTSHEADERS} \
95 ${ANALYSISTESTSHEADERS} \
96 ${DESCRIPTORTESTSHEADERS} \
97 ${ELEMENTTESTSHEADERS} \
98 ${FRAGMENTATIONTESTSHEADERS} \
99 ${GRAPHTESTSHEADERS} \
100 ${LINKEDCELLTESTHEADERS} \
101 ${LINEARALGEBRATESTSHEADERS} \
102 ${PARSERTESTSHEADERS} \
103 ${RANDOMNUMBERTESTSHEADERS} \
104 ${SHAPETESTSHEADERS} \
105 ${TESSELATIONTESTSHEADERS} \
106 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
107 ${UIELEMENTSMENUTESTSHEADERS} \
108 stubs/ObserverStub.hpp \
109 AtomIdSetUnitTest.hpp \
110 BoxUnitTest.hpp \
111 Box_BoundaryConditionsUnitTest.hpp \
112 FormulaUnitTest.hpp \
113 ListOfBondsUnitTest.hpp \
114 MoleculeUnitTest.hpp \
115 WorldTimeUnitTest.hpp
116
117
118BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
119 BoxUnitTest.cpp \
120 BoxUnitTest.hpp \
121 stubs/ObserverStub.cpp \
122 stubs/ObserverStub.hpp
123BoxUnitTest_LDADD = \
124 ../libMolecuilder.la \
125 ../libMolecuilderShapes.la \
126 ../libMolecuilderHelpers.la \
127 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
128
129AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
130 AtomIdSetUnitTest.cpp \
131 AtomIdSetUnitTest.hpp
132AtomIdSetUnitTest_LDADD = $(ALLLIBS)
133
134Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
135 Box_BoundaryConditionsUnitTest.cpp \
136 Box_BoundaryConditionsUnitTest.hpp \
137 ../Box_BoundaryConditions.cpp \
138 ../Box_BoundaryConditions.hpp
139Box_BoundaryConditionsTest_LDADD = \
140 ${CodePatterns_LIBS} \
141 $(BOOST_LIB)
142
143FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
144 FormulaUnitTest.cpp \
145 FormulaUnitTest.hpp
146FormulaUnittest_LDADD = $(ALLLIBS)
147
148ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
149 ListOfBondsUnitTest.cpp \
150 ListOfBondsUnitTest.hpp
151ListOfBondsUnitTest_LDADD = $(ALLLIBS)
152
153MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
154 MoleculeUnitTest.cpp \
155 MoleculeUnitTest.hpp
156MoleculeUnitTest_LDADD = \
157 ../libMolecuilderUI.la \
158 ../libMolecuilder.la \
159 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
160
161WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
162 WorldTimeUnitTest.cpp \
163 WorldTimeUnitTest.hpp \
164 ../WorldTime.cpp \
165 ../WorldTime.hpp
166WorldTimeUnitTest_LDADD = ${BOOST_LIB}
167
168
169TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
170TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
171
172#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.