source: src/unittests/Makefile.am@ 592be9

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

Moved unitests on Element... into subfolder src/Element/unittests.

  • new Makefile is included in src/unitests/Makefile.am.
  • Property mode set to 100644
File size: 3.6 KB
RevLine 
[18eecf]1# PLEASE adhere to the alphabetical ordering in this Makefile!
2# Also indentation by a single tab
3
[455573]4check_PROGRAMS =
5noinst_PROGRAMS =
6TESTS =
7
8include ../../src/Actions/unittests/Makefile.am
[9b5a2c]9include ../../src/Analysis/unittests/Makefile.am
[455573]10include ../../src/Descriptors/unittests/Makefile.am
[592be9]11include ../../src/Element/unittests/Makefile.am
[feb7df]12include ../../src/Fragmentation/unittests/Makefile.am
[629e43]13include ../../src/Graph/unittests/Makefile.am
[455573]14include ../../src/Parser/unittests/Makefile.am
15include ../../src/RandomNumbers/unittests/Makefile.am
16include ../../src/Shapes/unittests/Makefile.am
[0b004b]17include ../../src/Tesselation/unittests/Makefile.am
[455573]18include ../../src/UIElements/CommandLineUI/unittests/Makefile.am
19include ../../src/UIElements/Menu/unittests/Makefile.am
[c0bccb]20
[bf4b9f]21INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
[b9907c]22
[f08ae7]23AM_LDFLAGS = ${CodePatterns_LIBS} $(CPPUNIT_LIBS) -ldl
[a0064e]24AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
[be90f1]25
[455573]26GENERALTESTS = \
[f844ef]27 BoxUnitTest \
[9f632c]28 FormulaUnittest \
[dcea0f]29 LinkedCellUnitTest \
[9fb860]30 ListOfBondsUnitTest \
[f649de]31 WorldTimeUnitTest
[4fbca9c]32
[455573]33# these ones are checked
34TESTS += $(GENERALTESTS)
35# these ones are built for checking only
36check_PROGRAMS += $(GENERALTESTS)
37# ... and not installed
38noinst_PROGRAMS += $(GENERALTESTS) TestRunner
[b9907c]39
[f08ae7]40BOOST_LIB = \
41 $(BOOST_PROGRAM_OPTIONS_LDFLAGS) $(BOOST_PROGRAM_OPTIONS_LIBS) \
[d7d022]42 $(BOOST_FILESYSTEM_LDFLAGS) $(BOOST_FILESYSTEM_LIBS) \
43 $(BOOST_SERIALIZATION_LDFLAGS) $(BOOST_SERIALIZATION_LIBS)
[455573]44
[f4b5b7]45ALLLIBS = \
[455573]46 ../libMolecuilderUI.la \
[acbe1b]47 ../libMolecuilder.la \
[455573]48 $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
49 ${CodePatterns_LIBS} \
50 $(BOOST_LIB)
[4d9c01]51
[9b6b2f]52TESTSOURCES = \
[455573]53 ${ACTIONTESTSSOURCES} \
[9b5a2c]54 ${ANALYSISTESTSSOURCES} \
[455573]55 ${DESCRIPTORTESTSSOURCES} \
[592be9]56 ${ELEMENTTESTSSOURCES} \
[feb7df]57 ${FRAGMENTATIONTESTSSOURCES} \
[629e43]58 ${GRAPHTESTSSOURCES} \
[455573]59 ${LINEARALGEBRATESTSSOURCES} \
60 ${PARSERTESTSSOURCES} \
61 ${RANDOMNUMBERTESTSSOURCES} \
62 ${SHAPETESTSSOURCES} \
[0b004b]63 ${TESSELATIONTESTSSOURCES} \
[455573]64 $(UIELEMENTSCOMMANDLINEPARSERTESTSSOURCES) \
65 ${UIELEMENTSMENUTESTSSOURCES} \
[f844ef]66 BoxUnitTest.cpp \
67 FormulaUnitTest.cpp \
[5f612ee]68 LinkedCellUnitTest.cpp \
[f844ef]69 ListOfBondsUnitTest.cpp \
[f649de]70 WorldTimeUnitTest.cpp
[9b6b2f]71
72TESTHEADERS = \
[455573]73 ${ACTIONTESTSHEADERS} \
[9b5a2c]74 ${ANALYSISTESTSHEADERS} \
[455573]75 ${DESCRIPTORTESTSHEADERS} \
[592be9]76 ${ELEMENTTESTSHEADERS} \
[feb7df]77 ${FRAGMENTATIONTESTSHEADERS} \
[629e43]78 ${GRAPHTESTSHEADERS} \
[455573]79 ${LINEARALGEBRATESTSHEADERS} \
80 ${PARSERTESTSHEADERS} \
81 ${RANDOMNUMBERTESTSHEADERS} \
82 ${SHAPETESTSHEADERS} \
[0b004b]83 ${TESSELATIONTESTSHEADERS} \
[455573]84 $(UIELEMENTSCOMMANDLINEPARSERTESTSHEADERS) \
85 ${UIELEMENTSMENUTESTSHEADERS} \
[f844ef]86 BoxUnitTest.hpp \
87 FormulaUnitTest.hpp \
[5f612ee]88 LinkedCellUnitTest.hpp \
[f844ef]89 ListOfBondsUnitTest.hpp \
[bf4b9f]90 WorldTimeUnitTest.hpp
[9fb860]91
[9b6b2f]92
[f844ef]93BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
94 BoxUnitTest.cpp \
95 BoxUnitTest.hpp
96BoxUnitTest_LDADD = ${ALLLIBS}
[77bc4f]97
[f844ef]98FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
99 FormulaUnitTest.cpp \
100 FormulaUnitTest.hpp
[9f632c]101FormulaUnittest_LDADD = ${ALLLIBS}
102
[f844ef]103LinkedCellUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
104 LinkedCellUnitTest.cpp \
105 LinkedCellUnitTest.hpp
[5f612ee]106LinkedCellUnitTest_LDADD = ${ALLLIBS}
[46ea3b]107
[f844ef]108ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
109 ListOfBondsUnitTest.cpp \
110 ListOfBondsUnitTest.hpp
[4d9c01]111ListOfBondsUnitTest_LDADD = ${ALLLIBS}
[266237]112
[f649de]113WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
114 WorldTimeUnitTest.cpp \
115 WorldTimeUnitTest.hpp \
116 ../WorldTime.cpp \
117 ../WorldTime.hpp
118WorldTimeUnitTest_LDADD = ${BOOST_LIB}
119
120
[36166d]121TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
[b37436]122TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
[7a1ce5]123
[18eecf]124#AUTOMAKE_OPTIONS = parallel-tests
Note: See TracBrowser for help on using the repository browser.