don't count kv store test against code coverage
This commit is contained in:
parent
ae4b354c72
commit
83a3eecb22
@ -21,7 +21,7 @@ done
|
|||||||
|
|
||||||
# collect integration test coverage
|
# collect integration test coverage
|
||||||
echo "mode: count" > integration-acc.out
|
echo "mode: count" > integration-acc.out
|
||||||
INTPACKS=`go list ./... | grep -v vendor | grep -v utils | xargs | sed 's/ /,/g'`
|
INTPACKS=`go list ./... | grep -v vendor | grep -v utils | grep -v 'store/test' | xargs | sed 's/ /,/g'`
|
||||||
returnval=`go test -coverpkg=$INTPACKS -coverprofile=profile.out -covermode=count ./test`
|
returnval=`go test -coverpkg=$INTPACKS -coverprofile=profile.out -covermode=count ./test`
|
||||||
if [[ ${returnval} != *FAIL* ]]
|
if [[ ${returnval} != *FAIL* ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user