Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-13 03:30:57

0001 #!/bin/sh
0002 set -x
0003 LOCAL_TEST_DIR=${CMSSW_BASE}/src/FWCore/Integration/test
0004 LOCAL_TMP_DIR=${CMSSW_BASE}/tmp/${SCRAM_ARCH}
0005 
0006 # Pass in name and status
0007 function die { echo $1: status $2 ; echo === Test log === ; cat ${3:-/dev/null} ; echo === End test log === ;  exit $2; }
0008 
0009 pushd ${LOCAL_TMP_DIR}
0010 
0011 cmsRun ${LOCAL_TEST_DIR}/CatchStdExceptiontest_cfg.py &> CatchStdException.log && die 'Failed in using CatchStdException_cfg.py' 1 CatchStdException.log
0012 
0013 grep -q WhatsItESProducer CatchStdException.log || die 'Failed to find Producers name' $? CatchStdException.log
0014 #grep -w ESProducer CatcheStdException.log
0015 
0016 popd
0017