src/utils/qa/weeklybld/makeStrictBeta.csh 1.9
1.9 2010/03/16 02:45:37 galt
begin support for 3way tagging alpha beta public
Index: src/utils/qa/weeklybld/makeStrictBeta.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/weeklybld/makeStrictBeta.csh,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -B -U 1000000 -r1.8 -r1.9
--- src/utils/qa/weeklybld/makeStrictBeta.csh 3 Mar 2010 01:48:20 -0000 1.8
+++ src/utils/qa/weeklybld/makeStrictBeta.csh 16 Mar 2010 02:45:37 -0000 1.9
@@ -1,40 +1,41 @@
#!/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
+#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 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" $USER browser-qa
endif
rm warning.txt
echo "trackDb Make strict done on Beta [${0}: `date`]"
exit 0