Don't reference by $GOROOT

pull/296/head
Taylor Gerring 10 years ago
parent cad53fa191
commit ae3e9d4881
  1. 4
      gocoverage.sh

@ -15,7 +15,7 @@ if ls $dir/*.go &> /dev/null; then
# echo $dir # echo $dir
if [[ $dir != "./tests/vm" ]] if [[ $dir != "./tests/vm" ]]
then then
$GOROOT/bin/go test -covermode=count -coverprofile=$dir/profile.tmp $dir go test -covermode=count -coverprofile=$dir/profile.tmp $dir
fi fi
if [ -f $dir/profile.tmp ] if [ -f $dir/profile.tmp ]
then then
@ -25,5 +25,5 @@ if ls $dir/*.go &> /dev/null; then
fi fi
done done
$GOROOT/bin/go tool cover -func profile.cov go tool cover -func profile.cov

Loading…
Cancel
Save