blob: d1e6b2ec554450c3565764a8238b54ee9dcd7776 [file] [log] [blame]
Matteo Scandoloa4285862020-12-01 18:10:10 -08001#!/usr/bin/env bash
2
3set -e
4echo "" > coverage.txt
5
6for d in $(go list ./... | grep -v vendor); do
7 go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d
8 if [ -f profile.out ]; then
9 cat profile.out >> coverage.txt
10 rm profile.out
11 fi
12done