** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=lxr at /lxr/lib/LXR/Common.pm line 1113.

Last-Modified: Fri, 13 Jun 2024 03:24:19 GMT Content-Type: text/html; charset=utf-8 /CMSSW_14_1_X_2024-06-12-2300/HLTrigger/Configuration/test/testAccessToEDMInputsOfHLTTests.sh
Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:19

0001 #!/bin/bash
0002 
0003 # Pass in name and status
0004 function die {
0005   printf "\n%s: status %s\n" "$1" "$2"
0006   exit $2
0007 }
0008 
0009 if [ -z "${SCRAM_TEST_PATH}" ]; then
0010   printf "\n%s\n" "ERROR -- environment variable SCRAM_TEST_PATH not defined"
0011   printf "%s\n"   "         (hint: see readme file in the directory of this script)"
0012   exit 1
0013 fi
0014 
0015 # run test job
0016 inputFileList="${SCRAM_TEST_PATH}"/testAccessToEDMInputsOfHLTTests_filelist.txt
0017 
0018 if [ ! -f "${inputFileList}" ]; then
0019   printf "\n%s\n" "ERROR -- invalid path to file listing EDM input files:"
0020   printf "%s\n"   "         ${inputFileList}"
0021   exit 1
0022 fi
0023 
0024 for inputFile in $(cat "${inputFileList}"); do
0025   cmsRun "${SCRAM_TEST_PATH}"/testAccessToEDMInputsOfHLTTests_cfg.py inputFiles="${inputFile}" \
0026     || die "Failure running testAccessToEDMInputsOfHLTTests_cfg.py" $?
0027 done
0028 unset inputFile