aboutsummaryrefslogtreecommitdiffstats
path: root/gocoverage.sh
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-27 23:19:21 +0800
committerobscuren <geffobscura@gmail.com>2015-01-27 23:19:21 +0800
commitaa5b29e2f291322991ceab231267d19b19af72a2 (patch)
tree00ddbb5e4b2c16c406df6c134133988155dc3678 /gocoverage.sh
parent382726fde4b9b7656c4f4a96b6985fc816e3a7ce (diff)
downloadgo-tangerine-aa5b29e2f291322991ceab231267d19b19af72a2.tar.gz
go-tangerine-aa5b29e2f291322991ceab231267d19b19af72a2.tar.zst
go-tangerine-aa5b29e2f291322991ceab231267d19b19af72a2.zip
Implemented contract ABI
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-xgocoverage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/gocoverage.sh b/gocoverage.sh
index 24c8e9280..f908a2d66 100755
--- a/gocoverage.sh
+++ b/gocoverage.sh
@@ -15,7 +15,7 @@ if ls $dir/*.go &> /dev/null; then
# echo $dir
if [[ $dir != "./tests/vm" ]]
then
- go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+ $GOROOT/bin/go test -covermode=count -coverprofile=$dir/profile.tmp $dir
fi
if [ -f $dir/profile.tmp ]
then
@@ -25,7 +25,7 @@ if ls $dir/*.go &> /dev/null; then
fi
done
-go tool cover -func profile.cov
+$GOROOT/bin/go tool cover -func profile.cov
# To submit the test coverage result to coveralls.io,
# use goveralls (https://github.com/mattn/goveralls)