summaryrefslogtreecommitdiff
path: root/vendor/github.com/mattn/go-isatty/go.test.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-03-17 02:30:54 -0700
committerGitHub <noreply@github.com>2021-03-17 02:30:54 -0700
commit3d7a8cf2af43a2d315fff7b8f74ae3d039f68dd0 (patch)
tree6fe1fe47414717662d14a6e223e26ef803517f92 /vendor/github.com/mattn/go-isatty/go.test.sh
parent9439b699b8940e2caf84cc29026b0beb70a5a2bb (diff)
parent310eae4ba44bc1c98c5cc5995f1f183b8ac432b1 (diff)
downloadpodman-3d7a8cf2af43a2d315fff7b8f74ae3d039f68dd0.tar.gz
podman-3d7a8cf2af43a2d315fff7b8f74ae3d039f68dd0.tar.bz2
podman-3d7a8cf2af43a2d315fff7b8f74ae3d039f68dd0.zip
Merge pull request #9714 from rhatdan/build
Switch all builds to pull-never
Diffstat (limited to 'vendor/github.com/mattn/go-isatty/go.test.sh')
-rw-r--r--vendor/github.com/mattn/go-isatty/go.test.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/mattn/go-isatty/go.test.sh b/vendor/github.com/mattn/go-isatty/go.test.sh
new file mode 100644
index 000000000..012162b07
--- /dev/null
+++ b/vendor/github.com/mattn/go-isatty/go.test.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -e
+echo "" > coverage.txt
+
+for d in $(go list ./... | grep -v vendor); do
+ go test -race -coverprofile=profile.out -covermode=atomic "$d"
+ if [ -f profile.out ]; then
+ cat profile.out >> coverage.txt
+ rm profile.out
+ fi
+done