0
0
Fork 0

dont count code coverage support tool in project coverage

This commit is contained in:
Marty Schoch 2016-08-31 13:52:19 -04:00
parent 81282b3c06
commit a771e344ae
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ done
# collect integration test coverage
echo "mode: count" > integration-acc.out
INTPACKS=`go list ./... | grep -v vendor | grep -v utils | grep -v 'store/test' | xargs | sed 's/ /,/g'`
INTPACKS=`go list ./... | grep -v vendor | grep -v utils | grep -v 'store/test' | grep -v docs | xargs | sed 's/ /,/g'`
returnval=`go test -coverpkg=$INTPACKS -coverprofile=profile.out -covermode=count ./test`
if [[ ${returnval} != *FAIL* ]]
then