bikeshed: only output bug when we have a regression

R=rsc
CC=golang-dev
https://golang.org/cl/1897046
This commit is contained in:
Kai Backman 2010-08-03 13:09:16 -07:00 committed by Russ Cox
parent 5960f835ca
commit d0b913fe37

View file

@ -71,6 +71,10 @@ do
cat $TMP1FILE
if grep -q '^BUG' $TMP1FILE
then
if [ $dir != bugs ]
then
echo >&2 bug: $i
fi
echo "# $i # fail, BUG" >>pass.out
else
echo $i >>pass.out