mirror of
https://github.com/nshttpd/mikrotik-exporter.git
synced 2024-12-11 14:18:28 +01:00
13 lines
227 B
Bash
Executable File
13 lines
227 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
echo "" > cover.out
|
|
|
|
for d in $(go list $@); do
|
|
go test -race -coverprofile=profile.out $d
|
|
if [ -f profile.out ]; then
|
|
cat profile.out >> cover.out
|
|
rm profile.out
|
|
fi
|
|
done
|