mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
Don't reference by $GOROOT
This commit is contained in:
parent
cad53fa191
commit
ae3e9d4881
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue