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

@@ -22,7 +22,7 @@ ln -s "$linkto" # symlink outside of dir
cd `basename "$linkto"`
# loop through individual *.go files in working dir
for file in `find . -maxdepth 3 -type f -name '*.go'`; do
for file in `find . -maxdepth 9 -type f -name '*.go'`; do
#echo "running test on: $file"
run-test go build -i -o "$buildout" "$file" || fail_test "could not build: $file"
done