diff --git a/Reconstruction/Jet/JetEventAthenaPool/CMakeLists.txt b/Reconstruction/Jet/JetEventAthenaPool/CMakeLists.txt index ff3ef9e9e8346a69aede9e3b55b244970d1fdf06..a4dd641f8b0acd2f3f53bf06e3c955068187ead7 100644 --- a/Reconstruction/Jet/JetEventAthenaPool/CMakeLists.txt +++ b/Reconstruction/Jet/JetEventAthenaPool/CMakeLists.txt @@ -27,3 +27,17 @@ atlas_add_poolcnv_library( JetEventAthenaPoolPoolCnv atlas_install_headers( JetEventAthenaPool ) atlas_install_joboptions( share/*.py ) +# Set up (a) test(s) for the converter(s): +if( IS_DIRECTORY ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities ) + set( AthenaPoolUtilitiesTest_DIR + ${CMAKE_SOURCE_DIR}/Database/AthenaPOOL/AthenaPoolUtilities/cmake ) +endif() +find_package( AthenaPoolUtilitiesTest ) + +if( ATHENAPOOLUTILITIESTEST_FOUND ) + run_tpcnv_test( JetTPCnv_15.9.0.5 AOD-15.9.0.5-full ) + run_tpcnv_test( JetTPCnv_17.0.0 AOD-17.0.0-full ) + run_tpcnv_test( JetTPCnv_17.2.8 AOD-17.2.8-full ) +else() + message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." ) +endif()