Skip to content
Snippets Groups Projects
Commit 581bee26 authored by scott snyder's avatar scott snyder
Browse files

TrkEventAthenaPool: Fix unit tests in 21.2/AthDerivation.

Allow test reference files to be found outside of the repository.

The tests in this package require TrackParticleAtheanPool, which is not
built in AthDerivation.  So disable the tests if this library is not 
available.

Former-commit-id: ef02176d62be95b082ea52d050d469ee6e978f26
parent 72685473
No related branches found
No related tags found
No related merge requests found
......@@ -51,12 +51,26 @@ endif()
find_package( AthenaPoolUtilitiesTest )
if( ATHENAPOOLUTILITIESTEST_FOUND )
run_tpcnv_test( TrkEventTPCnv_14.5.0 AOD-14.5.0-full )
run_tpcnv_test( TrkEventTPCnv_15.6.7 AOD-15.6.7-full )
run_tpcnv_test( TrkEventTPCnv_16.6.2.1 AOD-16.6.2.1-full )
run_tpcnv_test( TrkEventTPCnv_17.2.8 AOD-17.2.8-full )
run_tpcnv_test( TrkEventTPCnv_18.0.0 AOD-18.0.0-full )
run_tpcnv_test( TrkEventTPCnv_20.1.7.2 ESD-20.1.7.2 )
set( TRKEVENTATHENAPOOL_REFERENCE_TAG
TrkEventAthenaPoolReference-01-00-00 )
run_tpcnv_test( TrkEventTPCnv_14.5.0 AOD-14.5.0-full
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( TrkEventTPCnv_15.6.7 AOD-15.6.7-full
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( TrkEventTPCnv_16.6.2.1 AOD-16.6.2.1-full
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( TrkEventTPCnv_17.2.8 AOD-17.2.8-full
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( TrkEventTPCnv_18.0.0 AOD-18.0.0-full
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
run_tpcnv_test( TrkEventTPCnv_20.1.7.2 ESD-20.1.7.2
REQUIRED_LIBRARIES TrackParticleAthenaPoolPoolCnv
REFERENCE_TAG ${TRKEVENTATHENAPOOL_REFERENCE_TAG} )
else()
message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
endif()
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