aboutsummaryrefslogtreecommitdiffstats
path: root/gocoverage.sh
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 03:21:24 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 03:21:24 +0800
commit7ddebd7a7593a00b80757f3239f32099755405ca (patch)
treea42000c70fad5ad1c0d5ae0f4a7dd86aa97a22fe /gocoverage.sh
parentbab78bbeb691d95bdd0222435af0c11cb3485a79 (diff)
downloadgo-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar.gz
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar.bz2
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar.lz
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar.xz
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.tar.zst
go-tangerine-7ddebd7a7593a00b80757f3239f32099755405ca.zip
Exclude VM tests
Diffstat (limited to 'gocoverage.sh')
-rwxr-xr-xgocoverage.sh5
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