source: src/unittests/Makefile.am@ 004d5c

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

Removed JobMarket as it is now in its own repository.

  • added ax_jobmarket.m4.
  • added check to configure.ac
  • Removed libraries libJobMarket... in Makefile.am's, replaced by JobMarket_..._LIBS.
  • changed some includes that now required JobMarket/ prefix.

Larger change to get JobMarket including its tests out of MoleCuilder:

  • configure has new enable-switch for JobMarket. Only then, we tests for its presence and usability (and also for boost::asio).
  • I do not know how to check for AM_CONDITIONAL or config.h values properly in a shell. Hence, I moved all regression tests dealing with the JobMarket into their own folder tests/JobMarket with depends on CONDJOBMARKET whether its included or not, similar to tests/Python.
  • TESTFIX: regression tests moved to tests/JobMarket have their paths changed.
  • FragmentationAutomationAction is now conditionally compiled in as well.
  • some Makefile.am's changed because we now have JobMarket_CFLAGS and _LIBS similar CodePatterns.
  • We use boost::preprocessor to add it dependently on HAVE_JOBMARKET to src/Actions/GlobalListOfActions.
  • TESTFIX: The former required a small change to CodeChecks test testsuite-globallistofactions_hpp as we can check no longer for the action name within brackets there.
  • FIX: I removed some unnecessary includes (defs.hpp) from MPQCCommandJob...hpp into the .cpp files.
  • Property mode set to 100644
File size: 5.3 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
17
18if CONDJOBMARKET
19include ../../src/Jobs/unittests/Makefile.am
20endif
21
22include ../../src/LinkedCell/unittests/Makefile.am
23include ../../src/Parser/unittests/Makefile.am
24include ../../src/RandomNumbers/unittests/Makefile.am
25include ../../src/Shapes/unittests/Makefile.am
26include ../../src/Tesselation/unittests/Makefile.am
27include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
28include ../../src/UIElements/Menu/unittests/Makefile.am
29
30INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
31
32AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
33AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
34
35GENERALTESTS = \
36 AtomIdSetUnitTest \
37 BoxUnitTest \
38 Box_BoundaryConditionsTest \
39 FormulaUnittest \
40 ListOfBondsUnitTest \
41 MoleculeUnitTest \
42 WorldTimeUnitTest
43
44# these ones are checked
45TESTS += $(GENERALTESTS)
46# these ones are built for checking only
47check_PROGRAMS += $(GENERALTESTS)
48# ... and not installed
49noinst_PROGRAMS += $(GENERALTESTS)
50
51if CONDECUT
52noinst_PROGRAMS += TestRunner
53endif
54
55
56BOOST_LIB = \
57 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
58 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
59 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS) \
60 $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
61
62GENERALLIBS = \
63 ../libMolecuilder.la \
64 ../libMolecuilderHelpers.la \
65 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
66 ${CodePatterns_LIBS} \
67 $(BOOST_LIB)
68
69ALLLIBS = \
70 ../libMolecuilderFilling.la \
71 ../libMolecuilderUI.la \
72 ../libMolecuilder.la \
73 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
74 ${CodePatterns_LIBS} \
75 $(BOOST_LIB)
76
77TESTSOURCES = \
78 ${ACTIONTESTSSOURCES} \
79 ${ANALYSISTESTSSOURCES} \
80 ${DESCRIPTORTESTSSOURCES} \
81 ${ELEMENTTESTSSOURCES} \
82 ${FILLINGTESTSSOURCES} \
83 ${FRAGMENTATIONTESTSSOURCES} \
84 ${GRAPHTESTSSOURCES} \
85 ${LINKEDCELLTESTSSOURCES} \
86 ${LINEARALGEBRATESTSSOURCES} \
87 ${PARSERTESTSSOURCES} \
88 ${RANDOMNUMBERTESTSSOURCES} \
89 ${SHAPETESTSSOURCES} \
90 ${TESSELATIONTESTSSOURCES} \
91 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
92 ${UIELEMENTSMENUTESTSSOURCES} \
93 stubs/ObserverStub.cpp \
94 AtomIdSetUnitTest.cpp \
95 BoxUnitTest.cpp \
96 Box_BoundaryConditionsUnitTest.cpp \
97 FormulaUnitTest.cpp \
98 ListOfBondsUnitTest.cpp \
99 MoleculeUnitTest.cpp \
100 WorldTimeUnitTest.cpp
101
102TESTHEADERS = \
103 ${ACTIONTESTSHEADERS} \
104 ${ANALYSISTESTSHEADERS} \
105 ${DESCRIPTORTESTSHEADERS} \
106 ${ELEMENTTESTSHEADERS} \
107 ${FILLINGTESTSHEADERS} \
108 ${FRAGMENTATIONTESTSHEADERS} \
109 ${GRAPHTESTSHEADERS} \
110 ${LINKEDCELLTESTHEADERS} \
111 ${LINEARALGEBRATESTSHEADERS} \
112 ${PARSERTESTSHEADERS} \
113 ${RANDOMNUMBERTESTSHEADERS} \
114 ${SHAPETESTSHEADERS} \
115 ${TESSELATIONTESTSHEADERS} \
116 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
117 ${UIELEMENTSMENUTESTSHEADERS} \
118 stubs/ObserverStub.hpp \
119 AtomIdSetUnitTest.hpp \
120 BoxUnitTest.hpp \
121 Box_BoundaryConditionsUnitTest.hpp \
122 FormulaUnitTest.hpp \
123 ListOfBondsUnitTest.hpp \
124 MoleculeUnitTest.hpp \
125 WorldTimeUnitTest.hpp
126
127
128BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
129 BoxUnitTest.cpp \
130 BoxUnitTest.hpp \
131 stubs/ObserverStub.cpp \
132 stubs/ObserverStub.hpp \
133 ../Shapes/unittests/stubs/ApproximateShapeAreaStub.cpp \
134 ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
135BoxUnitTest_LDADD = \
136 ../libMolecuilder.la \
137 ../libMolecuilderShapes.la \
138 ../libMolecuilderHelpers.la \
139 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
140 ${CodePatterns_LIBS}
141
142AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
143 AtomIdSetUnitTest.cpp \
144 AtomIdSetUnitTest.hpp
145AtomIdSetUnitTest_LDADD = $(ALLLIBS)
146
147Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
148 Box_BoundaryConditionsUnitTest.cpp \
149 Box_BoundaryConditionsUnitTest.hpp \
150 ../Box_BoundaryConditions.cpp \
151 ../Box_BoundaryConditions.hpp
152Box_BoundaryConditionsTest_LDADD = \
153 ${CodePatterns_LIBS} \
154 $(BOOST_LIB)
155
156FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
157 FormulaUnitTest.cpp \
158 FormulaUnitTest.hpp
159FormulaUnittest_LDADD = $(ALLLIBS)
160
161ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
162 ListOfBondsUnitTest.cpp \
163 ListOfBondsUnitTest.hpp
164ListOfBondsUnitTest_LDADD = $(ALLLIBS)
165
166MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
167 MoleculeUnitTest.cpp \
168 MoleculeUnitTest.hpp
169MoleculeUnitTest_LDADD = \
170 ../libMolecuilderUI.la \
171 ../libMolecuilder.la \
172 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
173
174WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
175 WorldTimeUnitTest.cpp \
176 WorldTimeUnitTest.hpp \
177 ../WorldTime.cpp \
178 ../WorldTime.hpp
179WorldTimeUnitTest_LDADD = ${BOOST_LIB}
180
181
182TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
183TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
184
185#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.