Ignore:
Timestamp:
Aug 20, 2014, 12:59:14 PM (10 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, 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:
d93b4b3
Parents:
09806a
git-author:
Frederik Heber <heber@…> (08/17/14 21:31:27)
git-committer:
Frederik Heber <heber@…> (08/20/14 12:59:14)
Message:

FIX: UnitTestMain placed into convenience libUnitTest.

  • removed UnitTestMain.cpp from all .._SOURCES (except LinearAlgebra).
  • this is due to subdir-objects: we cannot use absolute paths anymore. automake tries to place .deps folder in the respective source path. Wrapping it up in a library removes this.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/unittests/Makefile.am

    r09806a re9e86f  
    2525
    2626ACTIONLIBS = \
     27        libUnitTest.la \
    2728        ../libMolecuilderUI.la
    2829if CONDJOBMARKET
     
    3334# note that DummyUI inherits Dialog which depends on boost/file_system ...
    3435
    35 ActionRegistryUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     36ActionRegistryUnitTest_SOURCES = \
    3637        ../Actions/unittests/ActionRegistryUnitTest.cpp \
    3738        ../Actions/unittests/ActionRegistryUnitTest.hpp \
     
    4041        ../Parameters/unittests/stubs/BoxVectorValidatorStub.cpp \
    4142        ../Parameters/unittests/stubs/TimeStepPresentValidatorStub.cpp
    42 ActionRegistryUnitTest_LDADD = ${ACTIONLIBS}
     43ActionRegistryUnitTest_LDADD = ${ACTIONLIBS} \
     44        $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
    4345
    44 ActionSequenceUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     46ActionSequenceUnitTest_SOURCES = \
    4547        ../Actions/unittests/ActionSequenceUnitTest.cpp \
    4648        ../Actions/unittests/ActionSequenceUnitTest.hpp \
     
    5557        $(BOOST_SYSTEM_LDFLAGS) $(BOOST_SYSTEM_LIBS)
    5658
    57 AtomsCalculationUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     59AtomsCalculationUnitTest_SOURCES = \
    5860        ../Actions/unittests/AtomsCalculationUnitTest.cpp \
    5961        ../Actions/unittests/AtomsCalculationUnitTest.hpp
    6062AtomsCalculationUnitTest_LDADD = ${ACTIONLIBS}
    6163
    62 ManipulateAtomsUnitTest_SOURCES = $(top_srcdir)/src/unittests/UnitTestMain.cpp \
     64ManipulateAtomsUnitTest_SOURCES = \
    6365        ../Actions/unittests/ManipulateAtomsUnitTest.cpp \
    6466        ../Actions/unittests/ManipulateAtomsUnitTest.hpp \
Note: See TracChangeset for help on using the changeset viewer.