Commit 7083db14 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fix lookup/use of nosetests for LCG 95

required by the change introduces with https://sft.its.cern.ch/jira/browse/SPI-1185
parent 2d514f65
gaudi_subdir(GaudiKernel)
gaudi_depends_on_subdirs(GaudiPluginService)
gaudi_depends_on_subdirs(GaudiPluginService GaudiPolicy)
find_package(Boost REQUIRED COMPONENTS filesystem thread system regex)
find_package(ROOT REQUIRED COMPONENTS Core)
......
......@@ -4,6 +4,12 @@ gaudi_subdir(GaudiPolicy)
gaudi_install_scripts()
gaudi_install_python_modules()
find_program(nosetests_CMD NAMES nosetests)
if (nosetests_CMD AND NOT nosetests_CMD MATCHES "^(/usr(/local)?)?/bin/")
get_filename_component(nosetests_DIR "${nosetests_CMD}" DIRECTORY)
gaudi_env(PREPEND PATH "${nosetests_DIR}")
endif()
# Set environment to access the custom QMTest classes (at build time).
gaudi_build_env(PREPEND QMTEST_CLASS_PATH ${CMAKE_CURRENT_SOURCE_DIR}/qmtest_classes)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment