Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:20

0001 #!/bin/bash -ex
0002 ERR=0
0003 PYTHONUNBUFFERED=1 cmsswSequenceInfo.py --runTheMatrix --steps DQM,VALIDATION --infile $1 --offset $2 --dbfile sequences$2.db --threads 1 >run.log 2>&1 || ERR=1
0004 cat run.log
0005 seqs=$(grep 'Analyzing [0-9][0-9]* seqs' run.log | sed 's|.*Analyzing *||;s| .*||')
0006 echo "Sequences run by final DQMOfflineConfiguration: $seqs"
0007 if [ "$seqs" -gt 0 ] ; then
0008   echo "Final DQMOfflineConfiguration should not run any sequences."
0009   echo "Please update parameters for TestDQMOfflineConfiguration unittest to run the extra sequences."
0010   exit 1
0011 fi
0012 exit $ERR