Commit 42edd5cb authored by Administrator's avatar Administrator
Browse files

Install macros which are in the test suite

parent 86fd73e0
......@@ -92,9 +92,5 @@ EndIf()
EndForEach(setup IN LISTS cbm_setup)
# end of test CBM setups from geometry/setup
Install(FILES .rootrc c2f_transport.C
DESTINATION share/cbmroot/macro/c2f
)
Install(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/run/data)")
# Installation of macros is done in macro/CMakeLists.txt to install the
# macros even if the tests are not executed
......@@ -29,6 +29,7 @@ EndIf()
GENERATE_TEST_SCRIPT(${CBMROOT_SOURCE_DIR}/scripts/checklibs.sh ${CBMROOT_BINARY_DIR}/macro/)
add_test(load_libraries ${CBMROOT_BINARY_DIR}/macro/checklibs.sh)
# Install in any case
Install(FILES KF/DecayConfig.C KF/registerGeantDecays.C KF/registerLightIons.C KF/registerPythiaDecays.C
KF/kf_kfparticle.C KF/kf_thermal_signal_generator.C KF/kf_transport.C
......@@ -36,6 +37,20 @@ Install(FILES KF/DecayConfig.C KF/registerGeantDecays.C KF/registerLightIons.C K
)
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/KF/data)")
Install(FILES C2F/.rootrc C2F/c2f_transport.C C2F/sis100_electron.tree.list
${CBMROOT_SOURCE_DIR}/macro/analysis/common/analysis_tree_converter/run_analysis_tree_maker.C
${CBMROOT_SOURCE_DIR}/macro/analysis/common/at_kfpf_interface/run_at_kfpf.C
${CBMROOT_SOURCE_DIR}/macro/analysis/common/qa/run_analysistree_qa.C
DESTINATION share/cbmroot/macro/c2f
)
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/c2f/data)")
Install(FILES dimuon/.rootrc dimuon/dimuon_transport.C dimuon/invM.C
${CBMROOT_SOURCE_DIR}/macro/much/run_ana.C
DESTINATION share/cbmroot/macro/dimuon
)
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/dimuon/data)")
#--- Deprecated (not running)
#add_subdirectory(trd)
#add_subdirectory(littrack)
......
......@@ -153,10 +153,5 @@ ForEach(iSignal RANGE 16)
EndForEach(iSignal)
#Install(FILES .rootrc
# DecayConfig.C registerGeantDecays.C registerLightIons.C registerPythiaDecays.C
# kf_kfparticle.C kf_thermal_signal_generator.C kf_transport.C
# DESTINATION share/cbmroot/macro/KF
# )
#Install(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/KF/data)")
# Installation of macros is done in macro/CMakeLists.txt to install the
# macros even if the tests are not executed
......@@ -72,7 +72,5 @@ If( ($ENV{ctest_model} MATCHES Nightly) OR ($ENV{ctest_model} MATCHES Weekly) )
# end of test CBM setups from geometry/setup
EndIf()
Install(FILES .rootrc dimuon_transport.C
DESTINATION share/cbmroot/macro/dimuon
)
Install(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/run/data)")
# Installation of macros is done in macro/CMakeLists.txt to install the
# macros even if the tests are not executed
......@@ -152,7 +152,8 @@ EndForEach(setup IN LISTS cbm_setup)
# end of test CBM configs from geometry/config
# disable dev tests - Install(FILES .rootrc mcbm_transport.C mcbm_reco.C mcbm_check_overlaps.C
Install(FILES .rootrc mcbm_transport.C mcbm_reco.C mcbm_check_overlaps.C
Install(FILES .rootrc mcbm_transport.C mcbm_digi.C mcbm_reco_event.C mcbm_check_overlaps.C
mcbm_match_check.C mcbm_hadron_analysis.C mcbm_qa.C
DESTINATION share/cbmroot/macro/mcbm
)
Install(DIRECTORY modules DESTINATION share/cbmroot/macro/mcbm)
......
......@@ -42,13 +42,10 @@ SET_TESTS_PROPERTIES(${testname} PROPERTIES PASS_REGULAR_EXPRESSION "TestPassed;
set_tests_properties(${testname} PROPERTIES FIXTURES_REQUIRED fixture_much_ana)
#Install(FILES .rootrc setup_much_test.C
# DESTINATION share/cbmroot/macro/much
# )
#Install(FILES data/jpsi.root
# data/much_digi_sector_4station.seg
# DESTINATION share/cbmroot/macro/much/data
# )
#Install(CODE "FILE(MAKE_DIRECTORY
#${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/much/data)")
Install(FILES .rootrc run_transport.C run_ana.C
DESTINATION share/cbmroot/macro/much
)
Install(DIRECTORY data
DESTINATION share/cbmroot/macro/much
)
......@@ -28,3 +28,7 @@ SET_TESTS_PROPERTIES(mvd_qa4_reco PROPERTIES TIMEOUT "300")
SET_TESTS_PROPERTIES(mvd_qa4_reco PROPERTIES PASS_REGULAR_EXPRESSION "Test Passed;All ok")
set_tests_properties(mvd_qa4_reco PROPERTIES FIXTURES_REQUIRED fixture_mvd_qa4_reco)
Install(FILES mvd_qa1_transUrqmd.C mvd_qa2_transDelta.C mvd_qa3_digitize.C mvd_qa4_reco.C
DESTINATION share/cbmroot/macro/mvd
)
Install(CODE "FILE(MAKE_DIRECTORY ${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/mvd/data)")
......@@ -235,12 +235,8 @@ foreach(setup IN LISTS cbm_setup)
endforeach(setup IN LISTS cbm_setup)
# ============================================================================
Install(FILES .rootrc run_transport.C run_transport_json_config.C run_digi_json_config.C config.json run_digi.C run_reco_event.C check_overlaps.C
Install(FILES .rootrc run_tra_file.C run_tra_beam.C run_transport_json_config.C run_digi_json_config.C config.json
run_digi.C run_reco.C run_tests.sh
DESTINATION share/cbmroot/macro/run
)
Install(DIRECTORY modules DESTINATION share/cbmroot/macro/run)
Install(CODE "FILE(MAKE_DIRECTORY \${CMAKE_INSTALL_PREFIX}/share/cbmroot/macro/run/data)")
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