Skip to content
Snippets Groups Projects

Add _p4 version of CscRawDataCnv

Merged Nicolas Koehler requested to merge nkoehler/athena:cscCnv16a into 21.0-mc16a
21 files
+ 1458
167
Compare changes
  • Side-by-side
  • Inline
Files
21
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
#
# $Id: AthenaPoolUtilitiesTestConfig.cmake 780067 2016-10-24 14:39:09Z krasznaa $
@@ -14,6 +14,8 @@
function( run_tpcnv_test testName refName )
cmake_parse_arguments( ARG "" "REFERENCE_TAG" "" ${ARGN} )
# The package name is needed for the configuration of the test script:
atlas_get_package_name( pkgName )
@@ -33,11 +35,16 @@ function( run_tpcnv_test testName refName )
${CMAKE_CURRENT_BINARY_DIR}/tpcnv_${testName}.sh
@ONLY )
set( _env )
if( ARG_REFERENCE_TAG )
set( _env ENVIRONMENT "ATLAS_REFERENCE_TAG=${pkgName}/${ARG_REFERENCE_TAG}" )
endif()
# Create a test with it:
atlas_add_test( ${testName}
SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/tpcnv_${testName}.sh
PROPERTIES TIMEOUT 600
POST_EXEC_SCRIPT "post_tpcnvtest.sh ${testName}" )
POST_EXEC_SCRIPT "post_tpcnvtest.sh ${testName}" ${_env} )
endfunction( run_tpcnv_test )
Loading