src/utils/qa/weeklybld/makeStrictBeta.csh 1.8
1.8 2010/03/03 01:48:20 galt
jim added keyword Warning which was triggering as an error, but its not serious enough to stop the build for
Index: src/utils/qa/weeklybld/makeStrictBeta.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/makeStrictBeta.csh,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 1000000 -r1.7 -r1.8
--- src/utils/qa/weeklybld/makeStrictBeta.csh 5 Jan 2010 04:13:11 -0000 1.7
+++ src/utils/qa/weeklybld/makeStrictBeta.csh 3 Mar 2010 01:48:20 -0000 1.8
@@ -1,38 +1,40 @@
#!/bin/tcsh
cd $WEEKLYBLD
if ( "$HOST" != "hgwbeta" ) then
echo "error: you must run this script on hgwbeta! [${0}: `date`]"
exit 1
endif
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
make strict >& 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 wc = `echo "$res" | wc -w`
if ( "$wc" != "0" ) then
echo "trackDb strict errs found:"
echo "$res"
tail make.strict.log
exit 1
endif
-/bin/egrep -i "html missing" make.strict.log > warning.txt
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" $USER browser-qa
endif
rm warning.txt
echo "trackDb Make strict done on Beta [${0}: `date`]"
exit 0