Skip to content

Commit

Permalink
Remove TestNoRace tests from code coverage
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
  • Loading branch information
kozlovic committed Nov 18, 2021
1 parent 4ff41be commit cd78d6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/cov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ go get github.com/wadey/gocovmerge

rm -rf ./cov
mkdir cov
go test -v -failfast -covermode=atomic -coverprofile=./cov/conf.out ./conf -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/log.out ./logger -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/server.out ./server -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/test.out -coverpkg=./server ./test -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/conf.out -run='Test[^NoRace]' ./conf -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/log.out -run='Test[^NoRace]' ./logger -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/server.out -run='Test[^NoRace]' ./server -timeout=20m
go test -v -failfast -covermode=atomic -coverprofile=./cov/test.out -coverpkg=./server -run='Test[^NoRace]' ./test -timeout=20m
gocovmerge ./cov/*.out > acc.out
rm -rf ./cov

Expand Down

0 comments on commit cd78d6b

Please sign in to comment.