Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-05-06 00:35:28

0001 #!/bin/bash
0002 
0003 test=testRunMerge
0004 
0005 function die { echo Failure $1: status $2 ; exit $2 ; }
0006 
0007 echo LOCAL_TMP_DIR = ${LOCAL_TMP_DIR}
0008 
0009 pushd ${LOCAL_TMP_DIR}
0010   echo ${test}PROD0 ------------------------------------------------------------
0011   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD0_cfg.py || die "cmsRun ${test}PROD0_cfg.py" $?
0012 
0013   echo ${test}PROD1 ------------------------------------------------------------
0014   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD1_cfg.py || die "cmsRun ${test}PROD1_cfg.py" $?
0015 
0016   echo ${test}PROD2------------------------------------------------------------
0017   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD2_cfg.py || die "cmsRun ${test}PROD2_cfg.py" $?
0018 
0019   echo ${test}PROD2EXTRA------------------------------------------------------------
0020   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD2EXTRA_cfg.py || die "cmsRun ${test}PROD2EXTRA_cfg.py" $?
0021 
0022   echo ${test}PROD3------------------------------------------------------------
0023   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD3_cfg.py || die "cmsRun ${test}PROD3_cfg.py" $?
0024 
0025   echo ${test}PROD3EXTRA------------------------------------------------------------
0026   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD3EXTRA_cfg.py || die "cmsRun ${test}PROD3EXTRA_cfg.py" $?
0027 
0028   echo ${test}PROD4------------------------------------------------------------
0029   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD4_cfg.py || die "cmsRun ${test}PROD4_cfg.py" $?
0030 
0031   echo ${test}PROD5------------------------------------------------------------
0032   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD5_cfg.py || die "cmsRun ${test}PROD5_cfg.py" $?
0033 
0034   echo ${test}PROD6------------------------------------------------------------
0035   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD6_cfg.py || die "cmsRun ${test}PROD6_cfg.py" $?
0036 
0037   echo ${test}PROD7------------------------------------------------------------
0038   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD7_cfg.py || die "cmsRun ${test}PROD7_cfg.py" $?
0039 
0040   echo ${test}PROD11------------------------------------------------------------
0041   cmsRun -p ${LOCAL_TEST_DIR}/${test}PROD11_cfg.py || die "cmsRun ${test}PROD11_cfg.py" $?
0042 
0043   echo ${test}MERGE------------------------------------------------------------
0044   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE_cfg.py || die "cmsRun ${test}MERGE_cfg.py" $?
0045 
0046   echo ${test}MERGE1------------------------------------------------------------
0047   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE1_cfg.py || die "cmsRun ${test}MERGE1_cfg.py" $?
0048 
0049   echo ${test}MERGE2------------------------------------------------------------
0050   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE2_cfg.py || die "cmsRun ${test}MERGE2_cfg.py" $?
0051 
0052   echo ${test}MERGE3------------------------------------------------------------
0053   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE3_cfg.py || die "cmsRun ${test}MERGE3_cfg.py" $?
0054 
0055   echo ${test}MERGE3x------------------------------------------------------------
0056   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE3x_cfg.py || die "cmsRun ${test}MERGE3x_cfg.py" $?
0057 
0058   echo ${test}MERGE4------------------------------------------------------------
0059   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE4_cfg.py || die "cmsRun ${test}MERGE4_cfg.py" $?
0060 
0061   echo ${test}MERGE5------------------------------------------------------------
0062   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE5_cfg.py || die "cmsRun ${test}MERGE5_cfg.py" $?
0063 
0064   echo ${test}TEST------------------------------------------------------------
0065   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST_cfg.py || die "cmsRun ${test}TEST_cfg.py" $?
0066 
0067   echo ${test}TESTFAIL------------------------------------------------------------
0068   cmsRun -p ${LOCAL_TEST_DIR}/${test}TESTFAIL_cfg.py 2>/dev/null && die "cmsRun ${test}TESTFAIL_cfg.py" 1
0069 
0070   echo ${test}TEST1------------------------------------------------------------
0071   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST1_cfg.py || die "cmsRun ${test}TEST1_cfg.py" $?
0072 
0073   echo ${test}TEST2------------------------------------------------------------
0074   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST2_cfg.py || die "cmsRun ${test}TEST2_cfg.py" $?
0075 
0076   echo ${test}TEST3------------------------------------------------------------
0077   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST3_cfg.py || die "cmsRun ${test}TEST3_cfg.py" $?
0078 
0079   echo ${test}TEST4------------------------------------------------------------
0080   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST4_cfg.py || die "cmsRun ${test}TEST4_cfg.py" $?
0081 
0082   echo ${test}TEST5------------------------------------------------------------
0083   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST5_cfg.py || die "cmsRun ${test}TEST5_cfg.py" $?
0084 
0085   echo ${test}TEST11------------------------------------------------------------
0086   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST11_cfg.py || die "cmsRun ${test}TEST11_cfg.py" $?
0087 
0088   echo ${test}COPY------------------------------------------------------------
0089   cmsRun -p ${LOCAL_TEST_DIR}/${test}COPY_cfg.py || die "cmsRun ${test}COPY_cfg.py" $?
0090 
0091   echo ${test}COPY1------------------------------------------------------------
0092   cmsRun -p ${LOCAL_TEST_DIR}/${test}COPY1_cfg.py || die "cmsRun ${test}COPY1_cfg.py" $?
0093 
0094   echo ${test}MERGE6------------------------------------------------------------
0095   cmsRun -p ${LOCAL_TEST_DIR}/${test}MERGE6_cfg.py || die "cmsRun ${test}MERGE6_cfg.py" $?
0096 
0097   echo ${test}NoRunLumiSort------------------------------------------------------------
0098   cmsRun -p ${LOCAL_TEST_DIR}/${test}NoRunLumiSort_cfg.py || die "cmsRun ${test}NoRunLumiSort_cfg.py" $?
0099 
0100   echo ${test}TEST6------------------------------------------------------------
0101   cmsRun -p ${LOCAL_TEST_DIR}/${test}TEST6_cfg.py || die "cmsRun ${test}TEST6_cfg.py" $?
0102 
0103   echo ${test}PickEvents------------------------------------------------------------
0104   cmsRun -p ${LOCAL_TEST_DIR}/${test}PickEvents_cfg.py || die "cmsRun ${test}PickEvents_cfg.py" $?
0105 
0106   echo ${test}PickEventsx------------------------------------------------------------
0107   cmsRun -p ${LOCAL_TEST_DIR}/${test}PickEventsx_cfg.py || die "cmsRun ${test}PickEventsx_cfg.py" $?
0108 
0109   echo ${test}FastCloning------------------------------------------------------------
0110   cmsRun -p ${LOCAL_TEST_DIR}/${test}FastCloning_cfg.py 2> testFastCloning.txt
0111   grep "Another exception was caught" testFastCloning.txt || die "cmsRun testRunMergeFastCloning_cfg.py" $?
0112 
0113   echo testLooperEventNavigation-----------------------------------------------------
0114   cmsRun -p ${LOCAL_TEST_DIR}/testLooperEventNavigation_cfg.py < ${LOCAL_TEST_DIR}/testLooperEventNavigation.txt > testLooperEventNavigationOutput.txt || die "cmsRun testLooperEventNavigation_cfg.py " $?
0115   diff ${LOCAL_TEST_DIR}/unit_test_outputs/testLooperEventNavigationOutput.txt testLooperEventNavigationOutput.txt || die "comparing testLooperEventNavigationOutput.txt" $?
0116 
0117   echo testLooperEventNavigation1-----------------------------------------------------
0118   cmsRun -p ${LOCAL_TEST_DIR}/testLooperEventNavigation1_cfg.py < ${LOCAL_TEST_DIR}/testLooperEventNavigation.txt > testLooperEventNavigationOutput1.txt || die "cmsRun testLooperEventNavigation1_cfg.py " $?
0119   diff ${LOCAL_TEST_DIR}/unit_test_outputs/testLooperEventNavigationOutput.txt testLooperEventNavigationOutput1.txt || die "comparing testLooperEventNavigationOutput1.txt" $?
0120 
0121 popd
0122 
0123 exit 0