mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
41b1f93bf7
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
16 lines
459 B
Bash
16 lines
459 B
Bash
#!/bin/bash
|
|
|
|
DEST=$1
|
|
|
|
set -e
|
|
|
|
bundle_test_integration() {
|
|
LDFLAGS="$LDFLAGS $LDFLAGS_STATIC" go_test_dir ./integration \
|
|
"-coverpkg $(find_dirs '*.go' | sed 's,^\.,github.com/dotcloud/docker,g' | paste -d, -s)"
|
|
}
|
|
|
|
# this "grep" hides some really irritating warnings that "go test -coverpkg"
|
|
# spews when it is given packages that aren't used
|
|
bundle_test_integration 2>&1 \
|
|
| grep -v '^warning: no packages being tested depend on ' \
|
|
| tee $DEST/test.log
|