source: src/unittests/Makefile.am@ 5e6534

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

Refactored transform_iterator out of class molecule as AtomIdSet.

  • also added unit test.
  • Property mode set to 100644
File size: 4.6 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 WorldTimeUnitTest
36
37# these ones are checked
38TESTS += $(GENERALTESTS)
39# these ones are built for checking only
40check_PROGRAMS += $(GENERALTESTS)
41# ... and not installed
42noinst_PROGRAMS += $(GENERALTESTS)
43
44if CONDECUT
45noinst_PROGRAMS += TestRunner
46endif
47
48
49BOOST_LIB = \
50 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
51 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
52 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
53
54GENERALLIBS = \
55 ../libMolecuilder.la \
56 ../libMolecuilderHelpers.la \
57 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
58 ${CodePatterns_LIBS} \
59 $(BOOST_LIB)
60
61ALLLIBS = \
62 ../libMolecuilderUI.la \
63 ../libMolecuilder.la \
64 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
65 ${CodePatterns_LIBS} \
66 $(BOOST_LIB)
67
68TESTSOURCES = \
69 ${ACTIONTESTSSOURCES} \
70 ${ANALYSISTESTSSOURCES} \
71 ${DESCRIPTORTESTSSOURCES} \
72 ${ELEMENTTESTSSOURCES} \
73 ${FRAGMENTATIONTESTSSOURCES} \
74 ${GRAPHTESTSSOURCES} \
75 ${LINKEDCELLTESTSSOURCES} \
76 ${LINEARALGEBRATESTSSOURCES} \
77 ${PARSERTESTSSOURCES} \
78 ${RANDOMNUMBERTESTSSOURCES} \
79 ${SHAPETESTSSOURCES} \
80 ${TESSELATIONTESTSSOURCES} \
81 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
82 ${UIELEMENTSMENUTESTSSOURCES} \
83 stubs/ObserverStub.cpp \
84 AtomIdSetUnitTest.cpp \
85 BoxUnitTest.cpp \
86 Box_BoundaryConditionsUnitTest.cpp \
87 FormulaUnitTest.cpp \
88 ListOfBondsUnitTest.cpp \
89 WorldTimeUnitTest.cpp
90
91TESTHEADERS = \
92 ${ACTIONTESTSHEADERS} \
93 ${ANALYSISTESTSHEADERS} \
94 ${DESCRIPTORTESTSHEADERS} \
95 ${ELEMENTTESTSHEADERS} \
96 ${FRAGMENTATIONTESTSHEADERS} \
97 ${GRAPHTESTSHEADERS} \
98 ${LINKEDCELLTESTHEADERS} \
99 ${LINEARALGEBRATESTSHEADERS} \
100 ${PARSERTESTSHEADERS} \
101 ${RANDOMNUMBERTESTSHEADERS} \
102 ${SHAPETESTSHEADERS} \
103 ${TESSELATIONTESTSHEADERS} \
104 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
105 ${UIELEMENTSMENUTESTSHEADERS} \
106 stubs/ObserverStub.hpp \
107 AtomIdSetUnitTest.hpp \
108 BoxUnitTest.hpp \
109 Box_BoundaryConditionsUnitTest.hpp \
110 FormulaUnitTest.hpp \
111 ListOfBondsUnitTest.hpp \
112 WorldTimeUnitTest.hpp
113
114
115BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
116 BoxUnitTest.cpp \
117 BoxUnitTest.hpp \
118 stubs/ObserverStub.cpp \
119 stubs/ObserverStub.hpp
120BoxUnitTest_LDADD = \
121 ../libMolecuilder.la \
122 ../libMolecuilderShapes.la \
123 ../libMolecuilderHelpers.la \
124 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
125
126AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
127 AtomIdSetUnitTest.cpp \
128 AtomIdSetUnitTest.hpp
129AtomIdSetUnitTest_LDADD = $(ALLLIBS)
130
131Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
132 Box_BoundaryConditionsUnitTest.cpp \
133 Box_BoundaryConditionsUnitTest.hpp \
134 ../Box_BoundaryConditions.cpp \
135 ../Box_BoundaryConditions.hpp
136Box_BoundaryConditionsTest_LDADD = \
137 ${CodePatterns_LIBS} \
138 $(BOOST_LIB)
139
140FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
141 FormulaUnitTest.cpp \
142 FormulaUnitTest.hpp
143FormulaUnittest_LDADD = $(ALLLIBS)
144
145ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
146 ListOfBondsUnitTest.cpp \
147 ListOfBondsUnitTest.hpp
148ListOfBondsUnitTest_LDADD = $(ALLLIBS)
149
150WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
151 WorldTimeUnitTest.cpp \
152 WorldTimeUnitTest.hpp \
153 ../WorldTime.cpp \
154 ../WorldTime.hpp
155WorldTimeUnitTest_LDADD = ${BOOST_LIB}
156
157
158TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
159TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
160
161#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.