File indexing completed on 2024-04-06 12:12:47
0001
0002
0003
0004 case `uname` in Darwin) SED_OPT="-i '' -E";;*) SED_OPT="-i -r";; esac ;
0005
0006 status=0
0007
0008 rm -f u33_all.log
0009
0010 cmsRun ${SCRAM_TEST_PATH}/u33_cfg.py || exit $?
0011
0012 for file in u33_all.log
0013 do
0014 sed $SED_OPT -f ${SCRAM_TEST_PATH}/filter-timestamps.sed $file
0015 ref_log=${SCRAM_TEST_PATH}/unit_test_outputs/$file
0016 [[ " ${CMSSW_VERSION}" == *"_DBG_X"* ]] && [ -e ${SCRAM_TEST_PATH}/unit_test_outputs/DBG/$file ] && ref_log=${SCRAM_TEST_PATH}/unit_test_outputs/DBG/$file
0017 diff ${ref_log} ./$file
0018 if [ $? -ne 0 ]
0019 then
0020 echo The above discrepancies concern $file
0021 status=1
0022 fi
0023 done
0024
0025 exit $status