test: Improve test depth

Make sure we're catching everything, including new, deeper code.
This commit is contained in:
James Shubin
2019-03-12 15:50:30 -04:00
parent 6044ade373
commit 58961d23bb
5 changed files with 9 additions and 6 deletions

View File

@@ -54,7 +54,7 @@ echo "Using: $gometalinter"
# loop through directories in an attempt to scan each go package
# TODO: lint the *.go examples as individual files and not as a single *.go
for dir in `find * -maxdepth 5 -type d -not -path 'old/*' -not -path 'old' -not -path 'tmp/*' -not -path 'tmp' -not -path 'vendor/*' -not -path 'examples/*' -not -path 'test/*'`; do
for dir in `find * -maxdepth 9 -type d -not -path 'old/*' -not -path 'old' -not -path 'tmp/*' -not -path 'tmp' -not -path 'vendor/*' -not -path 'examples/*' -not -path 'test/*'`; do
#echo "Running in: $dir"
match="$dir/*.go"