![]() |
|
|||
File indexing completed on 2023-03-17 11:02:59
0001 #!/bin/sh 0002 set -x 0003 LOCAL_TEST_DIR=${SCRAM_TEST_PATH} 0004 # Pass in name and status 0005 function die { echo $1: status $2 ; exit $2; } 0006 0007 cmsRun ${LOCAL_TEST_DIR}/CatchCmsExceptiontest_cfg.py &> CatchCmsException.log && die 'Failed in using CatchCmsException_cfg.py' 1 0008 0009 grep -q WhatsItESProducer CatchCmsException.log || die 'Failed to find Producers name' $? 0010 0011 #echo running cmsRun testSkipEvent_cfg.py 0012 #cmsRun ${LOCAL_TEST_DIR}/testSkipEvent_cfg.py &> testSkipEvent.log || die 'Failed in using testSkipEvent_cfg.py' $? 0013 0014 #echo running cmsRun CatchCmsExceptionFromSource_cfg.py 0015 0016 #cmsRun ${LOCAL_TEST_DIR}/CatchCmsExceptionFromSource_cfg.py &> CatchCmsExceptionFromSource.log && \ 0017 #die 'Failed because expected exception was not thrown while running cmsRun CatchCmsExceptionFromSource_cfg.py' 1 0018 0019 #grep -q "Calling Source::beginRun" CatchCmsExceptionFromSource.log || die 'Failed to find string Calling Source::beginRun' $? 0020 0021 # It is intentional that this test throws an exception. The test fails if it does not. 0022 cmsRun ${LOCAL_TEST_DIR}/testMissingDictionaryChecking_cfg.py &> testMissingDictionaryChecking.log && die 'Failed to get exception running testMissingDictionaryChecking_cfg.py' 1 0023 grep -q MissingDictionaryTestF testMissingDictionaryChecking.log || die 'Failed to print out exception message with missing dictionary listed' $? 0024 0025 #grep -w ESProducer CatcheStdException.log
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.2.1 LXR engine. The LXR team |
![]() ![]() |