Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:56

0001 #!/bin/bash -ex
0002 cdump_dir=${CMSSW_BASE}
0003 for dir in ${CMSSW_BASE} ${CMSSW_RELEASE_BASE} ${CMSSW_FULL_RELEASE_BASE} ; do
0004   if [ -e ${dir}/test/${SCRAM_ARCH}/cdump ] ; then
0005     cdump_dir=${dir}
0006     break
0007   fi
0008 done
0009 rm -f Alignment_Geners_cdump.out
0010 ${cdump_dir}/test/${SCRAM_ARCH}/cdump -f ${cdump_dir}/src/Alignment/Geners/test/archive.gsbmf > Alignment_Geners_cdump.out 2>&1
0011 if [ $(diff Alignment_Geners_cdump.out ${cdump_dir}/src/Alignment/Geners/test/cdump.ref | wc -l) -gt 0 ] ;  then
0012     echo "!!!! Catalog dump regression test FAILED"
0013 else
0014     echo "**** Catalog dump regression test passed"
0015 fi
0016 rm -f Alignment_Geners_cdump.out