File indexing completed on 2024-04-06 12:04:30
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_SDSRawDataCollection_test_file_cfg.py || die 'Failure using create_SDSRawDataCollection_test_file_cfg.py' $?
0008
0009 file=testSDSRawDataCollection.root
0010
0011 cmsRun ${LOCAL_TEST_DIR}/read_SDSRawDataCollection_cfg.py "$file" || die "Failure using read_SDSRawDataCollection_cfg.py $file" $?
0012
0013 oldFile="testSDSRawDataCollection_v3_CMSSW_13_3_0_pre5.root"
0014 inputfile=$(edmFileInPath DataFormats/L1ScoutingRawData/data/$oldFile) || die "Failure edmFileInPath DataFormats/L1ScoutingRawData/data/$oldFile" $?
0015 cmsRun ${LOCAL_TEST_DIR}/read_SDSRawDataCollection_cfg.py "$inputfile" || die "Failed to read old file $oldFile" $?
0016
0017 exit 0