Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:45

0001 #!/bin/bash
0002 
0003 case `uname` in Darwin) SED_OPT="-i '' -E";;*) SED_OPT="-i -r";; esac ;
0004 
0005 pushd $LOCAL_TMP_DIR
0006 
0007 status=0
0008   
0009 rm -f warnings.log infos.log job_report.xml 
0010 
0011 cmsRun -j job_report.xml -p $LOCAL_TEST_DIR/u9_cfg.py || exit $?
0012  
0013 for file in warnings.log infos.log job_report.xml   
0014 do
0015   sed $SED_OPT -f $LOCAL_TEST_DIR/filter-timestamps.sed $file
0016   diff $LOCAL_TEST_DIR/unit_test_outputs/$file $LOCAL_TMP_DIR/$file  
0017   if [ $? -ne 0 ]  
0018   then
0019     echo The above discrepancies concern $file 
0020     status=1
0021   fi
0022 done
0023 
0024 popd
0025 
0026 exit $status