diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-30 01:28:55 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-01-30 01:28:55 +0800 |
commit | 1cfea1113ac90b5214560ea6db923106f638c4b8 (patch) | |
tree | 5a539d60640da4ee4b1ddd62f703f715523c411a /gocoverage.sh | |
parent | 726852e3d3ba5c2167bbdb3bdd3ecbaff6b4f242 (diff) | |
parent | 6488a392a347d0d47212fdc78386e3e0e5841d7d (diff) | |
download | dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar.gz dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar.bz2 dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar.lz dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar.xz dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.tar.zst dexon-1cfea1113ac90b5214560ea6db923106f638c4b8.zip |
Merge branch 'qt5.4' of github.com:ethereum/go-ethereum into qt5.4
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-x | gocoverage.sh | 4 |
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) |