Changeset a91710 for src/unittests


Ignore:
Timestamp:
Aug 21, 2014, 6:59:33 AM (11 years ago)
Author:
Frederik Heber <heber@…>
Branches:
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, Candidate_v1.7.0, 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
Children:
29b35e
Parents:
4c9101 (diff), 0c72e2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'Fixes_Ubuntu14_04' into stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/unittests/Makefile.am

    r4c9101 ra91710  
    77XFAIL_TESTS =
    88MOSTLYCLEANFILES =
     9noinst_LTLIBRARIES =
     10
     11#AUTOMAKE_OPTIONS = no-dependencies
    912
    1013if CONDCPPUNIT
     
    4043include ../../src/UIElements/Menu/unittests/Makefile.am
    4144
    42 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src
    43 
    4445AM_LDFLAGS = \
    4546        ${CodePatterns_LIBS} \
    4647        $(CPPUNIT_LIBS) \
    4748        -ldl
    48 AM_CPPFLAGS = ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
     49AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/LinearAlgebra/src ${BOOST_CPPFLAGS} $(CPPUNIT_CFLAGS) ${CodePatterns_CFLAGS}
    4950
    5051GENERALTESTS = \
     
    6869endif
    6970
     71noinst_LTLIBRARIES += libUnitTest.la
     72libUnitTest_la_LDFLAGS = \
     73        $(AM_LDFLAGS)
     74libUnitTest_la_LIBADD =
     75
     76#nobase_libUnitTest_la_include_HEADERS =
     77
     78## Define the source file list for the "libexample-@MOLECUILDER_API_VERSION@.la"
     79## target.  Note that @MOLECUILDER_API_VERSION@ is not interpreted by Automake and
     80## will therefore be treated as if it were literally part of the target name,
     81## and the variable name derived from that.
     82## The file extension .cc is recognized by Automake, and makes it produce
     83## rules which invoke the C++ compiler to produce a libtool object file (.lo)
     84## from each source file.  Note that it is not necessary to list header files
     85## which are already listed elsewhere in a _HEADERS variable assignment.
     86libUnitTest_la_SOURCES = UnitTestMain.cpp
     87
     88## Instruct libtool to include ABI version information in the generated shared
     89## library file (.so).  The library ABI version is defined in configure.ac, so
     90## that all version information is kept in one place.
     91#libUnitTest_la_LDFLAGS = -version-info $(MOLECUILDER_SO_VERSION)
     92
     93## The generated configuration header is installed in its own subdirectory of
     94## $(libdir).  The reason for this is that the configuration information put
     95## into this header file describes the target platform the installed library
     96## has been built for.  Thus the file must not be installed into a location
     97## intended for architecture-independent files, as defined by the Filesystem
     98## Hierarchy Standard (FHS).
     99## The nodist_ prefix instructs Automake to not generate rules for including
     100## the listed files in the distribution on 'make dist'.  Files that are listed
     101## in _HEADERS variables are normally included in the distribution, but the
     102## configuration header file is generated at configure time and should not be
     103## shipped with the source tarball.
     104#libUnitTest_la_libincludedir = $(libdir)/MoleCuilder/include
     105#nodist_libUnitTest_la_libinclude_HEADERS = $(top_builddir)/libmolecuilder_config.h
     106
     107## Install the generated pkg-config file (.pc) into the expected location for
     108## architecture-dependent package configuration information.  Occasionally,
     109## pkg-config files are also used for architecture-independent data packages,
     110## in which case the correct install location would be $(datadir)/pkgconfig.
     111#pkgconfigdir = $(libdir)/pkgconfig
     112#pkgconfig_DATA = $(top_builddir)/MoleCuilder.pc
     113
    70114
    71115BOOST_LIB = \
     
    83127
    84128ALLLIBS = \
     129        libUnitTest.la \
     130        ../libMolecuilder.la \
    85131        ../libMolecuilderUI.la
    86132if CONDJOBMARKET
     
    146192 
    147193
    148 BoxUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     194BoxUnitTest_SOURCES = \
    149195        BoxUnitTest.cpp \
    150196        BoxUnitTest.hpp \
     
    154200        ../Shapes/unittests/stubs/ApproximateShapeVolumeStub.cpp
    155201BoxUnitTest_LDADD = \
    156         ../libMolecuilder.la \
    157         ../libMolecuilderShapes.la \
    158         ../libMolecuilderHelpers.la \
    159         $(top_builddir)/LinearAlgebra/src/LinearAlgebra/libLinearAlgebra.la \
    160         ${CodePatterns_LIBS} \
    161         $(BOOST_LIB)
    162 
    163 AtomIdSetUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     202        $(ALLLIBS) \
     203        ../libMolecuilderShapes.la \
     204        ../libMolecuilderHelpers.la
     205
     206AtomIdSetUnitTest_SOURCES = \
    164207        AtomIdSetUnitTest.cpp \
    165208        AtomIdSetUnitTest.hpp
    166209AtomIdSetUnitTest_LDADD =  $(ALLLIBS)
    167210
    168 Box_BoundaryConditionsTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     211Box_BoundaryConditionsTest_SOURCES = \
    169212        Box_BoundaryConditionsUnitTest.cpp \
    170         Box_BoundaryConditionsUnitTest.hpp \
    171         ../Box_BoundaryConditions.cpp \
    172         ../Box_BoundaryConditions.hpp
     213        Box_BoundaryConditionsUnitTest.hpp
    173214Box_BoundaryConditionsTest_LDADD = \
    174         ${CodePatterns_LIBS} \
    175         $(BOOST_LIB)
    176 
    177 FormulaUnittest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     215        $(ALLLIBS) \
     216        ../libMolecuilderShapes.la \
     217        ../libMolecuilderHelpers.la
     218
     219FormulaUnittest_SOURCES = \
    178220        FormulaUnitTest.cpp \
    179221        FormulaUnitTest.hpp
    180222FormulaUnittest_LDADD = $(ALLLIBS)
    181223
    182 ListOfBondsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     224ListOfBondsUnitTest_SOURCES = \
    183225        ListOfBondsUnitTest.cpp \
    184226        ListOfBondsUnitTest.hpp
    185227ListOfBondsUnitTest_LDADD = $(ALLLIBS)
    186228
    187 MoleculeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     229MoleculeUnitTest_SOURCES = \
    188230        MoleculeUnitTest.cpp \
    189231        MoleculeUnitTest.hpp
     
    193235        ../libMolecuilderHelpers.la
    194236
    195 WorldTimeUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     237WorldTimeUnitTest_SOURCES = \
    196238        WorldTimeUnitTest.cpp \
    197         WorldTimeUnitTest.hpp \
    198         ../WorldTime.cpp \
    199         ../WorldTime.hpp
    200 WorldTimeUnitTest_LDADD = ${BOOST_LIB}
     239        WorldTimeUnitTest.hpp
     240WorldTimeUnitTest_LDADD = \
     241        $(ALLLIBS) \
     242        ../libMolecuilderShapes.la \
     243        ../libMolecuilderHelpers.la
    201244
    202245
Note: See TracChangeset for help on using the changeset viewer.