mirror of
https://github.com/luxfi/zmq.git
synced 2026-10-30 15:11:11 +00:00
19 lines
447 B
Bash
Executable File
19 lines
447 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Copyright 2018 The go-zeromq Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style
|
|
# license that can be found in the LICENSE file.
|
|
|
|
|
|
set -e
|
|
|
|
echo "" > coverage.txt
|
|
|
|
for d in $(go list ./... | grep -v vendor); do
|
|
go test -v $TAGS -race -coverprofile=profile.out -covermode=atomic $d
|
|
if [ -f profile.out ]; then
|
|
cat profile.out >> coverage.txt
|
|
rm profile.out
|
|
fi
|
|
done
|