aboutsummaryrefslogtreecommitdiffstats
path: root/gocoverage.sh
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-06 06:02:15 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-06 06:02:15 +0800
commitae3e9d488136f3607f64b18dd81de5c9331f5440 (patch)
tree726e627bc4819dba50b2eb5526cf3ae9d25e87e9 /gocoverage.sh
parentcad53fa1919ce2fd3e9cd02ad918e5808c379f74 (diff)
downloaddexon-ae3e9d488136f3607f64b18dd81de5c9331f5440.tar.gz
dexon-ae3e9d488136f3607f64b18dd81de5c9331f5440.tar.zst
dexon-ae3e9d488136f3607f64b18dd81de5c9331f5440.zip
Don't reference by $GOROOT
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 5cb2fdf08..4245e3901 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
- $GOROOT/bin/go test -covermode=count -coverprofile=$dir/profile.tmp $dir
+ go test -covermode=count -coverprofile=$dir/profile.tmp $dir
fi
if [ -f $dir/profile.tmp ]
then
@@ -25,5 +25,5 @@ if ls $dir/*.go &> /dev/null; then
fi
done
-$GOROOT/bin/go tool cover -func profile.cov
+go tool cover -func profile.cov