Merge pull request #4283 from tianon/hide-no-packages-being-tested
Add simple "grep" to hide the harmless "warning: no packages being tested depend on ..." in "go test -coverpkg ..." output Upstream-commit: 59d9edd9f5812f5dd2584055ab6ead59c1855fd0 Component: engine
This commit is contained in:
@@ -9,4 +9,8 @@ bundle_test_integration() {
|
||||
"-coverpkg $(find_dirs '*.go' | sed 's,^\.,github.com/dotcloud/docker,g' | paste -d, -s)"
|
||||
}
|
||||
|
||||
bundle_test_integration 2>&1 | tee $DEST/test.log
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user