From aa5b29e2f291322991ceab231267d19b19af72a2 Mon Sep 17 00:00:00 2001 From: obscuren Date: Tue, 27 Jan 2015 16:19:21 +0100 Subject: Implemented contract ABI --- gocoverage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gocoverage.sh') 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) -- cgit v1.2.3 From 57c6caf146a815f29b0698b8f67c827a254d7836 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Mon, 2 Feb 2015 12:14:04 -0600 Subject: Separate Coveralls submission from coverage script --- gocoverage.sh | 3 --- 1 file changed, 3 deletions(-) (limited to 'gocoverage.sh') diff --git a/gocoverage.sh b/gocoverage.sh index f908a2d66..5cb2fdf08 100755 --- a/gocoverage.sh +++ b/gocoverage.sh @@ -27,6 +27,3 @@ done $GOROOT/bin/go tool cover -func profile.cov -# To submit the test coverage result to coveralls.io, -# use goveralls (https://github.com/mattn/goveralls) -goveralls -coverprofile=profile.cov -service=travis-ci -repotoken $COVERALLS_TOKEN -- cgit v1.2.3 From ae3e9d488136f3607f64b18dd81de5c9331f5440 Mon Sep 17 00:00:00 2001 From: Taylor Gerring Date: Thu, 5 Feb 2015 16:02:15 -0600 Subject: Don't reference by $GOROOT --- gocoverage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gocoverage.sh') 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 -- cgit v1.2.3