diff --git a/RecoMET/METProducers/test/runtests.sh b/RecoMET/METProducers/test/runtests.sh index 6f3c1ba3a91ee..f66a8e463799f 100755 --- a/RecoMET/METProducers/test/runtests.sh +++ b/RecoMET/METProducers/test/runtests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -ex ##____________________________________________________________________________|| function die { echo $1: status $2 ; exit $2; } @@ -7,7 +7,7 @@ function die { echo $1: status $2 ; exit $2; } # temporary: produce fastsim sample on the fly # can be removed as soon as relval samples are available with the new fastsim rechits -cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 1 --eventcontent FEVTDEBUGHLT -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO --beamspot NominalCollision2015 --era Run2_2016 --fileout ttbarForMetTests.root +cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 1 --eventcontent FEVTDEBUGHLT -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,L1Reco,RECO --beamspot NominalCollision2015 --era Run2_2016 --fileout ttbarForMetTests.root || die 'Failure running cmsDriver' $? cmsRun ${LOCAL_TEST_DIR}/recoMET_pfMet_cfg.py || die 'Failure using recoMET_pfMet_cfg.py' $? cmsRun ${LOCAL_TEST_DIR}/recoMET_caloMet_cfg.py || die 'Failure using recoMET_caloMet_cfg.py' $? cmsRun ${LOCAL_TEST_DIR}/recoMET_tcMet_cfg.py || die 'Failure using recoMET_tcMet_cfg.py' $?