Skip to content
Snippets Groups Projects
Commit 747ae265 authored by James Beacham's avatar James Beacham
Browse files

Merge branch 'BeamEffects_CMakeFixes_21.0' into '21.0'

Manual sweep of !3231 from 'master' into '21.0': BeamEffects: Fix typos in cmake file; add missing test reference file.

See merge request atlas/athena!7179

Former-commit-id: d843430d784e6f67cc0f7e21fd4ce780e438ebeb
parents 35a199d1 5f95f5fa
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ atlas_depends_on_subdirs( PUBLIC
Control/CxxUtils
Control/StoreGate
Event/EventInfo
Generator/GeneratorObjects
Generators/GeneratorObjects
InnerDetector/InDetConditions/InDetBeamSpotService
Simulation/Interfaces/HepMC_Interfaces
Simulation/Tools/AtlasCLHEP_RandomGenerators )
......@@ -31,15 +31,16 @@ include_directories(SYSTEM ${EIGEN_INCLUDE_DIRS})
atlas_add_test( BeamEffectsAlg_test
SOURCES src/*.cxx test/BeamEffectsAlg_test.cxx
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HepMC_INCLUDE_DIRS} ${GTEST_INCLUDE_DIRS} #${GMOCK_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HepMC_LIBRARIES} GaudiKernel TestTools AthenaBaseComps CxxUtils StoreGateLib EventInfo GeneratorObjects AtlasCLHEP_RandomGenerators ${GTEST_LIBRARIES} #${GMOCK_LIBRARIES}
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS} ${GTEST_INCLUDE_DIRS} #${GMOCK_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel TestTools AthenaBaseComps CxxUtils StoreGateLib EventInfo GeneratorObjects AtlasCLHEP_RandomGenerators ${GTEST_LIBRARIES} #${GMOCK_LIBRARIES}
EXTRA_PATTERNS "[0-9]+ ms"
)
atlas_add_component( BeamEffects
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HepMC_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HepMC_LIBRARIES} GaudiKernel AthenaBaseComps CxxUtils StoreGateLib EventInfo GeneratorObjects AtlasCLHEP_RandomGenerators )
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} GaudiKernel AthenaBaseComps CxxUtils StoreGateLib EventInfo GeneratorObjects AtlasCLHEP_RandomGenerators )
# Install files from the package:
atlas_install_headers( BeamEffects )
......
[==========] Running 6 tests from 1 test case.
[----------] Global test environment set-up.
ApplicationMgr SUCCESS
====================================================================================================================================
Welcome to ApplicationMgr (GaudiCoreSvc v27r1p99)
running on karma on Fri Feb 17 22:54:02 2017
====================================================================================================================================
ApplicationMgr INFO Application Manager Configured successfully
EventLoopMgr WARNING Unable to locate service "EventSelector"
EventLoopMgr WARNING No events will be processed from external input.
HistogramPersis...WARNING Histograms saving not required.
ApplicationMgr INFO Application Manager Initialized successfully
ApplicationMgr Ready
[----------] 6 tests from BeamEffectsAlg_test
[ RUN ] BeamEffectsAlg_test.empty_alg_execute
ClassIDSvc INFO getRegistryEntries: read 1507 CLIDRegistry entries for module ALL
BeamEffectsAlg FATAL No input McEventCollection called GEN_EVENT in StoreGate.
[ OK ] BeamEffectsAlg_test.empty_alg_execute (179 ms)
[ RUN ] BeamEffectsAlg_test.set_properties
ClassIDSvc INFO getRegistryEntries: read 359 CLIDRegistry entries for module ALL
[ OK ] BeamEffectsAlg_test.set_properties (2 ms)
[ RUN ] BeamEffectsAlg_test.signal_process_vertex_exists
[ OK ] BeamEffectsAlg_test.signal_process_vertex_exists (1 ms)
[ RUN ] BeamEffectsAlg_test.add_signal_process_vertex_atlasG4
[ OK ] BeamEffectsAlg_test.add_signal_process_vertex_atlasG4 (0 ms)
[ RUN ] BeamEffectsAlg_test.add_signal_process_vertex_isfG4
[ OK ] BeamEffectsAlg_test.add_signal_process_vertex_isfG4 (0 ms)
[ RUN ] BeamEffectsAlg_test.execute_pass_through
[ OK ] BeamEffectsAlg_test.execute_pass_through (1 ms)
[----------] 6 tests from BeamEffectsAlg_test (183 ms total)
[----------] Global test environment tear-down
[==========] 6 tests from 1 test case ran. (572 ms total)
[ PASSED ] 6 tests.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment