source: src/unittests/Makefile.am@ 103eb8

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

Moved all Fragmentation/Automation into new subpackage JobMarket.

  • adapted most files (which have been copied from sub-package LinearAlgebra).
  • adapted all Makefile.ams to splitting.
  • unit tests are ok.
  • there is one very strange issue: Whereas for LinearAlgebra in its header files a prefix of "LinearAlgebra/" is _not_ required (and even has been removed when LinearAlgebra was placed in its own folder), the same does not hold for "JobMarket/". Here, we have to use both includes, one with the prefix and one without.
  • NOTE: We force libJobMarket to be linked with c++ linker via dummy.cxx file.
  • Removed all reference to FRAGMENT... in JobMarket's Makefile.am.
  • Property mode set to 100644
File size: 5.4 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/Filling/unittests/Makefile.am
15include ../../src/Fragmentation/unittests/Makefile.am
16include ../../src/Graph/unittests/Makefile.am
17include ../../src/Jobs/unittests/Makefile.am
18include ../../src/LinkedCell/unittests/Makefile.am
19include ../../src/Parser/unittests/Makefile.am
20include ../../src/RandomNumbers/unittests/Makefile.am
21include ../../src/Shapes/unittests/Makefile.am
22include ../../src/Tesselation/unittests/Makefile.am
23include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
24include ../../src/UIElements/Menu/unittests/Makefile.am
25
26INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src -I$(top_srcdir)/JobMarket/src -I$(top_srcdir)/JobMarket/src/JobMarket
27
28AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
29AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
30
31GENERALTESTS = \
32 AtomIdSetUnitTest \
33 BoxUnitTest \
34 Box_BoundaryConditionsTest \
35 FormulaUnittest \
36 ListOfBondsUnitTest \
37 MoleculeUnitTest \
38 WorldTimeUnitTest
39
40# these ones are checked
41TESTS += $(GENERALTESTS)
42# these ones are built for checking only
43check_PROGRAMS += $(GENERALTESTS)
44# ... and not installed
45noinst_PROGRAMS += $(GENERALTESTS)
46
47if CONDECUT
48noinst_PROGRAMS += TestRunner
49endif
50
51
52BOOST_LIB = \
53 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
54 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
55 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
56 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
57
58GENERALLIBS = \
59 ../libMolecuilder.la \
60 ../libMolecuilderHelpers.la \
61 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
62 ${CodePatterns_LIBS} \
63 $(BOOST_LIB)
64
65ALLLIBS = \
66 ../libMolecuilderFilling.la \
67 ../libMolecuilderUI.la \
68 ../libMolecuilder.la \
69 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
70 ${CodePatterns_LIBS} \
71 $(BOOST_LIB)
72
73TESTSOURCES = \
74 ${ACTIONTESTSSOURCES} \
75 ${ANALYSISTESTSSOURCES} \
76 ${DESCRIPTORTESTSSOURCES} \
77 ${ELEMENTTESTSSOURCES} \
78 ${FILLINGTESTSSOURCES} \
79 ${FRAGMENTATIONTESTSSOURCES} \
80 ${GRAPHTESTSSOURCES} \
81 ${LINKEDCELLTESTSSOURCES} \
82 ${LINEARALGEBRATESTSSOURCES} \
83 ${PARSERTESTSSOURCES} \
84 ${RANDOMNUMBERTESTSSOURCES} \
85 ${SHAPETESTSSOURCES} \
86 ${TESSELATIONTESTSSOURCES} \
87 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
88 ${UIELEMENTSMENUTESTSSOURCES} \
89 stubs/ObserverStub.cpp \
90 AtomIdSetUnitTest.cpp \
91 BoxUnitTest.cpp \
92 Box_BoundaryConditionsUnitTest.cpp \
93 FormulaUnitTest.cpp \
94 ListOfBondsUnitTest.cpp \
95 MoleculeUnitTest.cpp \
96 WorldTimeUnitTest.cpp
97
98TESTHEADERS = \
99 ${ACTIONTESTSHEADERS} \
100 ${ANALYSISTESTSHEADERS} \
101 ${DESCRIPTORTESTSHEADERS} \
102 ${ELEMENTTESTSHEADERS} \
103 ${FILLINGTESTSHEADERS} \
104 ${FRAGMENTATIONTESTSHEADERS} \
105 ${GRAPHTESTSHEADERS} \
106 ${LINKEDCELLTESTHEADERS} \
107 ${LINEARALGEBRATESTSHEADERS} \
108 ${PARSERTESTSHEADERS} \
109 ${RANDOMNUMBERTESTSHEADERS} \
110 ${SHAPETESTSHEADERS} \
111 ${TESSELATIONTESTSHEADERS} \
112 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
113 ${UIELEMENTSMENUTESTSHEADERS} \
114 stubs/ObserverStub.hpp \
115 AtomIdSetUnitTest.hpp \
116 BoxUnitTest.hpp \
117 Box_BoundaryConditionsUnitTest.hpp \
118 FormulaUnitTest.hpp \
119 ListOfBondsUnitTest.hpp \
120 MoleculeUnitTest.hpp \
121 WorldTimeUnitTest.hpp
122
123
124BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
125 BoxUnitTest.cpp \
126 BoxUnitTest.hpp \
127 stubs/ObserverStub.cpp \
128 stubs/ObserverStub.hpp \
129 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
130 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
131BoxUnitTest_LDADD = \
132 ../libMolecuilder.la \
133 ../libMolecuilderShapes.la \
134 ../libMolecuilderHelpers.la \
135 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
136 ${CodePatterns_LIBS}
137
138AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
139 AtomIdSetUnitTest.cpp \
140 AtomIdSetUnitTest.hpp
141AtomIdSetUnitTest_LDADD = $(ALLLIBS)
142
143Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
144 Box_BoundaryConditionsUnitTest.cpp \
145 Box_BoundaryConditionsUnitTest.hpp \
146 ../Box_BoundaryConditions.cpp \
147 ../Box_BoundaryConditions.hpp
148Box_BoundaryConditionsTest_LDADD = \
149 ${CodePatterns_LIBS} \
150 $(BOOST_LIB)
151
152FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
153 FormulaUnitTest.cpp \
154 FormulaUnitTest.hpp
155FormulaUnittest_LDADD = $(ALLLIBS)
156
157ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
158 ListOfBondsUnitTest.cpp \
159 ListOfBondsUnitTest.hpp
160ListOfBondsUnitTest_LDADD = $(ALLLIBS)
161
162MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
163 MoleculeUnitTest.cpp \
164 MoleculeUnitTest.hpp
165MoleculeUnitTest_LDADD = \
166 ../libMolecuilderUI.la \
167 ../libMolecuilder.la \
168 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
169
170WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
171 WorldTimeUnitTest.cpp \
172 WorldTimeUnitTest.hpp \
173 ../WorldTime.cpp \
174 ../WorldTime.hpp
175WorldTimeUnitTest_LDADD = ${BOOST_LIB}
176
177
178TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
179TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
180
181#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.