Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-10-04 05:18:36

0001 #!/bin/bash
0002 
0003 # Test suite for various ConfigDP scenarios
0004 # run using: scram build runtests
0005 # feel free to contribute with your favourite configuration
0006 
0007 
0008 # Pass in name and status
0009 function die { echo $1: status $2 ;  exit $2; }
0010 
0011 function runTest { echo $1 ; python3 $1 || die "Failure for configuration: $1" $?; }
0012 
0013 declare -a arr=("AlCaLumiPixels" "cosmicsEra_Run2_2018" "ppEra_Run2_2018" "ppEra_Run2_2018_highBetaStar" "ppEra_Run2_2018_pp_on_AA" "cosmicsHybridEra_Run2_2018" "cosmicsEra_Run3" "ppEra_Run3" "AlCaLumiPixels_Run3")
0014 for scenario in "${arr[@]}"
0015 do
0016      runTest "${SCRAM_TEST_PATH}/RunAlcaSkimming.py --scenario $scenario --lfn=/store/whatever --global-tag GLOBALTAG --skims SiStripCalZeroBias+SiStripCalMinBias+PromptCalibProd"
0017      runTest "${SCRAM_TEST_PATH}/RunDQMHarvesting.py --scenario $scenario --lfn /store/whatever --run 12345 --dataset /A/B/C --global-tag GLOBALTAG"
0018 done
0019