source: src/unittests/Makefile.am@ e23075

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

FIX: TestRunner is now compiled based on AM_CONDITIONAL set by HAVE_ECUT.

  • Property mode set to 100644
File size: 4.0 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 =
7
8include ../../src/Actions/unittests/Makefile.am
9include ../../src/Analysis/unittests/Makefile.am
10include ../../src/Atom/unittests/Makefile.am
11include ../../src/Descriptors/unittests/Makefile.am
12include ../../src/Element/unittests/Makefile.am
13include ../../src/Fragmentation/unittests/Makefile.am
14include ../../src/Graph/unittests/Makefile.am
15include ../../src/LinkedCell/unittests/Makefile.am
16include ../../src/Parser/unittests/Makefile.am
17include ../../src/RandomNumbers/unittests/Makefile.am
18include ../../src/Shapes/unittests/Makefile.am
19include ../../src/Tesselation/unittests/Makefile.am
20include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
21include ../../src/UIElements/Menu/unittests/Makefile.am
22
23INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
24
25AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
26AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
27
28GENERALTESTS = \
29 BoxUnitTest \
30 FormulaUnittest \
31 ListOfBondsUnitTest \
32 WorldTimeUnitTest
33
34# these ones are checked
35TESTS += $(GENERALTESTS)
36# these ones are built for checking only
37check_PROGRAMS += $(GENERALTESTS)
38# ... and not installed
39noinst_PROGRAMS += $(GENERALTESTS)
40
41if CONDECUT
42noinst_PROGRAMS += TestRunner
43endif
44
45
46BOOST_LIB = \
47 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
48 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
49 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
50
51GENERALLIBS = \
52 ../libMolecuilder.la \
53 ../libMolecuilderHelpers.la \
54 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
55 ${CodePatterns_LIBS} \
56 $(BOOST_LIB)
57
58ALLLIBS = \
59 ../libMolecuilderUI.la \
60 ../libMolecuilder.la \
61 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
62 ${CodePatterns_LIBS} \
63 $(BOOST_LIB)
64
65TESTSOURCES = \
66 ${ACTIONTESTSSOURCES} \
67 ${ANALYSISTESTSSOURCES} \
68 ${DESCRIPTORTESTSSOURCES} \
69 ${ELEMENTTESTSSOURCES} \
70 ${FRAGMENTATIONTESTSSOURCES} \
71 ${GRAPHTESTSSOURCES} \
72 ${LINKEDCELLTESTSSOURCES} \
73 ${LINEARALGEBRATESTSSOURCES} \
74 ${PARSERTESTSSOURCES} \
75 ${RANDOMNUMBERTESTSSOURCES} \
76 ${SHAPETESTSSOURCES} \
77 ${TESSELATIONTESTSSOURCES} \
78 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
79 ${UIELEMENTSMENUTESTSSOURCES} \
80 stubs/ObserverStub.cpp \
81 BoxUnitTest.cpp \
82 FormulaUnitTest.cpp \
83 ListOfBondsUnitTest.cpp \
84 WorldTimeUnitTest.cpp
85
86TESTHEADERS = \
87 ${ACTIONTESTSHEADERS} \
88 ${ANALYSISTESTSHEADERS} \
89 ${DESCRIPTORTESTSHEADERS} \
90 ${ELEMENTTESTSHEADERS} \
91 ${FRAGMENTATIONTESTSHEADERS} \
92 ${GRAPHTESTSHEADERS} \
93 ${LINKEDCELLTESTHEADERS} \
94 ${LINEARALGEBRATESTSHEADERS} \
95 ${PARSERTESTSHEADERS} \
96 ${RANDOMNUMBERTESTSHEADERS} \
97 ${SHAPETESTSHEADERS} \
98 ${TESSELATIONTESTSHEADERS} \
99 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
100 ${UIELEMENTSMENUTESTSHEADERS} \
101 stubs/ObserverStub.hpp \
102 BoxUnitTest.hpp \
103 FormulaUnitTest.hpp \
104 ListOfBondsUnitTest.hpp \
105 WorldTimeUnitTest.hpp
106
107
108BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
109 BoxUnitTest.cpp \
110 BoxUnitTest.hpp \
111 stubs/ObserverStub.cpp \
112 stubs/ObserverStub.hpp
113BoxUnitTest_LDADD = \
114 ../libMolecuilder.la \
115 ../libMolecuilderShapes.la \
116 ../libMolecuilderHelpers.la \
117 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la
118
119FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
120 FormulaUnitTest.cpp \
121 FormulaUnitTest.hpp
122FormulaUnittest_LDADD = $(ALLLIBS)
123
124ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
125 ListOfBondsUnitTest.cpp \
126 ListOfBondsUnitTest.hpp
127ListOfBondsUnitTest_LDADD = $(ALLLIBS)
128
129WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
130 WorldTimeUnitTest.cpp \
131 WorldTimeUnitTest.hpp \
132 ../WorldTime.cpp \
133 ../WorldTime.hpp
134WorldTimeUnitTest_LDADD = ${BOOST_LIB}
135
136
137TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
138TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
139
140#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.