File indexing completed on 2021-07-06 22:54:40
0001
0002 set -x
0003 LOCAL_TEST_DIR=${CMSSW_BASE}/src/FWCore/Integration/test
0004 LOCAL_TMP_DIR=${CMSSW_BASE}/tmp/${SCRAM_ARCH}
0005
0006
0007 function die { echo $1: status $2 ; exit $2; }
0008
0009 pushd ${LOCAL_TMP_DIR}
0010
0011 cmsRun ${LOCAL_TEST_DIR}/CatchCmsExceptiontest_cfg.py &> CatchCmsException.log && die 'Failed in using CatchCmsException_cfg.py' 1
0012
0013 grep -q WhatsItESProducer CatchCmsException.log || die 'Failed to find Producers name' $?
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 cmsRun ${LOCAL_TEST_DIR}/testMissingDictionaryChecking_cfg.py &> testMissingDictionaryChecking.log && die 'Failed to get exception running testMissingDictionaryChecking_cfg.py' 1
0027 grep -q MissingDictionaryTestF testMissingDictionaryChecking.log || die 'Failed to print out exception message with missing dictionary listed' $?
0028
0029 popd
0030
0031