Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:30

0001 #!/bin/sh
0002 
0003 function die { echo $1: status $2 ; exit $2; }
0004 
0005 if [ "${SCRAM_TEST_NAME}" != "" ] ; then
0006   mkdir ${SCRAM_TEST_NAME}
0007   cd ${SCRAM_TEST_NAME}
0008 fi
0009 
0010 echo -e "===== testing SiStripApV Gain manipulations =====\n\n"
0011 
0012 entries=("SiStripGainPayloadCopyAndExclude_cfg.py" "SiStripApvGainInspector_cfg.py")
0013 
0014 echo -e "===== copying IOV 317478 from tag SiStripApvGainAfterAbortGap_PCL_multirun_v0_prompt on dev DB ====="
0015 
0016 conddb --yes --db dev copy SiStripApvGainAfterAbortGap_PCL_multirun_v0_prompt SiStripApvGainAAG_pcl --from 317478 --to 317478  --destdb promptCalibConditions86791.db
0017 
0018 for entry in "${entries[@]}"; 
0019 do
0020     echo -e "===== executing cmsRun "${SCRAM_TEST_PATH}/$entry" ======\n"
0021     (cmsRun "${SCRAM_TEST_PATH}/"$entry) || die "Failure using cmsRun $entry" $?
0022     echo -e "===== executed $entry test ======\n"
0023 done
0024 
0025 echo -e "\n\n ===== Done with the Gain manipulations tests! =====\n\n"