1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Exclude more "definitely not unit tested Go source code" directories from hack/make/test

Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
This commit is contained in:
Tianon Gravi 2014-03-12 01:18:12 -06:00
parent e1c48fa560
commit 99b6364790

View file

@ -136,7 +136,15 @@ go_test_dir() {
# output, one per line.
find_dirs() {
find -not \( \
\( -wholename './vendor' -o -wholename './integration' -o -wholename './contrib' -o -wholename './pkg/mflag/example' \) \
\( \
-wholename './vendor' \
-o -wholename './integration' \
-o -wholename './contrib' \
-o -wholename './pkg/mflag/example' \
-o -wholename './.git' \
-o -wholename './bundles' \
-o -wholename './docs' \
\) \
-prune \
\) -name "$1" -print0 | xargs -0n1 dirname | sort -u
}