diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2014-12-22 03:21:24 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2014-12-22 03:21:24 +0800 |
commit | 7ddebd7a7593a00b80757f3239f32099755405ca (patch) | |
tree | a42000c70fad5ad1c0d5ae0f4a7dd86aa97a22fe | |
parent | bab78bbeb691d95bdd0222435af0c11cb3485a79 (diff) | |
download | dexon-7ddebd7a7593a00b80757f3239f32099755405ca.tar.gz dexon-7ddebd7a7593a00b80757f3239f32099755405ca.tar.zst dexon-7ddebd7a7593a00b80757f3239f32099755405ca.zip |
Exclude VM tests
-rwxr-xr-x | gocoverage.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gocoverage.sh b/gocoverage.sh index 35038108b..12a4c93cc 100755 --- a/gocoverage.sh +++ b/gocoverage.sh @@ -13,7 +13,10 @@ for dir in $(find . -maxdepth 10 -not -path './.git*' -not -path '*/_*' -type d) do if ls $dir/*.go &> /dev/null; then # echo $dir - go test -covermode=count -coverprofile=$dir/profile.tmp $dir + if [[ $dir != "./tests/vm" ]] + then + go test -covermode=count -coverprofile=$dir/profile.tmp $dir + fi if [ -f $dir/profile.tmp ] then cat $dir/profile.tmp | tail -n +2 >> profile.cov |