Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
| ... | ... |
@@ -9,4 +9,8 @@ bundle_test_integration() {
|
| 9 | 9 |
"-coverpkg $(find_dirs '*.go' | sed 's,^\.,github.com/dotcloud/docker,g' | paste -d, -s)" |
| 10 | 10 |
} |
| 11 | 11 |
|
| 12 |
-bundle_test_integration 2>&1 | tee $DEST/test.log |
|
| 12 |
+# this "grep" hides some really irritating warnings that "go test -coverpkg" |
|
| 13 |
+# spews when it is given packages that aren't used |
|
| 14 |
+bundle_test_integration 2>&1 \ |
|
| 15 |
+ | grep -v '^warning: no packages being tested depend on ' \ |
|
| 16 |
+ | tee $DEST/test.log |