File indexing completed on 2024-04-06 12:04:07
0001
0002
0003 function die { echo $1: status $2 ; exit $2; }
0004
0005 LOCAL_TEST_DIR=${SCRAM_TEST_PATH}
0006
0007 cmsRun ${LOCAL_TEST_DIR}/create_FEDRawDataCollection_test_file_cfg.py || die 'Failure using create_FEDRawDataCollection_test_file_cfg.py' $?
0008
0009 file=testFEDRawDataCollection.root
0010
0011 cmsRun ${LOCAL_TEST_DIR}/test_readFEDRawDataCollection_cfg.py "$file" || die "Failure using test_readFEDRawDataCollection_cfg.py $file" $?
0012
0013 oldFiles="testFEDRawDataCollection_CMSSW_13_0_0.root testFEDRawDataCollection_CMSSW_13_1_0_pre3.root"
0014 for file in $oldFiles; do
0015 inputfile=$(edmFileInPath DataFormats/FEDRawData/data/$file) || die "Failure edmFileInPath DataFormats/FEDRawData/data/$file" $?
0016 cmsRun ${LOCAL_TEST_DIR}/test_readFEDRawDataCollection_cfg.py "$inputfile" || die "Failed to read old file $file" $?
0017 done
0018
0019 exit 0