Skip to content
Snippets Groups Projects
Commit 31bc8bac authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

'Get tests working in cmake build.' (TrackParticleTruthAthenaPool-00-00-11)

	* Tagging TrackParticleTruthAthenaPool-00-00-11.
	* CMakeLists.txt: Get tests working in cmake build.


Former-commit-id: 1a3ccd4f
parent 66d05f74
No related branches found
No related tags found
No related merge requests found
...@@ -25,3 +25,15 @@ atlas_add_poolcnv_library( TrackParticleTruthAthenaPoolPoolCnv ...@@ -25,3 +25,15 @@ atlas_add_poolcnv_library( TrackParticleTruthAthenaPoolPoolCnv
# Install files from the package: # Install files from the package:
atlas_install_joboptions( share/*.py ) 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( TrackParticleTruthTPCnv_18.0.0 AOD-18.0.0-full )
else()
message( WARNING "Couldn't find AthenaPoolUtilitiesTest. No test(s) set up." )
endif()
...@@ -32,3 +32,4 @@ apply_pattern athenarun_test \ ...@@ -32,3 +32,4 @@ apply_pattern athenarun_test \
options="TrackParticleTruthAthenaPool/TrackParticleTruthTPCnv_18.0.0_test.py" \ options="TrackParticleTruthAthenaPool/TrackParticleTruthTPCnv_18.0.0_test.py" \
pre_script="${ATHENAPOOLUTILITIESROOT}/share/pre_tpcnvtest.sh TrackParticleTruthTPCnv_18.0.0" \ pre_script="${ATHENAPOOLUTILITIESROOT}/share/pre_tpcnvtest.sh TrackParticleTruthTPCnv_18.0.0" \
post_script="${ATHENAPOOLUTILITIESROOT}/share/post_tpcnvtest.sh TrackParticleTruthTPCnv_18.0.0" post_script="${ATHENAPOOLUTILITIESROOT}/share/post_tpcnvtest.sh TrackParticleTruthTPCnv_18.0.0"
...@@ -10,8 +10,6 @@ keys = [ ...@@ -10,8 +10,6 @@ keys = [
'TrackParticleTruthCollection', 'TrackParticleTruthCollection',
] ]
from AthenaCommon.JobProperties import jobproperties
jobproperties.Global.DetDescrVersion = 'ATLAS-GEO-10-00-00'
#noMuon = True #noMuon = True
#noID = True #noID = True
......
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