dd14a53519dd33f8bb4c3b65897b5cfafc42b2c7 braney Mon Feb 8 14:54:47 2021 -0800 ignore ignored errors diff --git src/utils/qa/weeklybld/makeStrictBeta.csh src/utils/qa/weeklybld/makeStrictBeta.csh index a16c063..ecaa9c2 100755 --- src/utils/qa/weeklybld/makeStrictBeta.csh +++ src/utils/qa/weeklybld/makeStrictBeta.csh @@ -1,35 +1,35 @@ #!/bin/tcsh cd $BUILDDIR set dir = "v"$BRANCHNN"_branch" cd $dir cd kent pwd # the makefile now does zoo automatically now when you call it echo "trackDb Make strict. [${0}: `date`]" cd $BUILDDIR/$dir/kent/src/hg/makeDb/trackDb #old method: make strict >& make.strict.log make beta >& make.strict.log /bin/egrep -i "html missing" make.strict.log > warning.txt /bin/egrep -iv "html missing" make.strict.log > make.strict.log2 mv make.strict.log2 make.strict.log -set res = `/bin/egrep -i "error|warn" make.strict.log` +set res = `/bin/egrep -i "error|warn" make.strict.log | grep -v ignored` set wc = `echo "$res" | wc -w` if ( "$wc" != "0" ) then echo "trackDb strict errs found:" echo "$res" tail make.strict.log exit 1 endif set wc = `cat warning.txt | wc -w` if ( "$wc" != "0" ) then echo "trackDb strict html non-fatal errs found:" cat warning.txt cat warning.txt | mail -s "v$BRANCHNN missing html error found by trackDb make strict" ${BUILDMEISTEREMAIL} browser-qa@soe.ucsc.edu endif rm warning.txt echo "trackDb Make strict done on Beta [${0}: `date`]" exit 0