test: Improve test depth
Make sure we're catching everything, including new, deeper code.
This commit is contained in:
@@ -75,7 +75,7 @@ for pkg in `go list -e ./... | grep -v "^${base}/vendor/" | grep -v "^${base}/ex
|
||||
done
|
||||
|
||||
# loop through individual *.go files
|
||||
for file in `find . -maxdepth 9 -type f -name '*.go' -not -path './old/*' -not -path './tmp/*' -not -path 'vendor/*'`; do
|
||||
for file in `find . -maxdepth 9 -type f -name '*.go' -not -path './old/*' -not -path './tmp/*' -not -path './vendor/*'`; do
|
||||
#if [[ $file == "./vendor/"* ]]; then # skip files that start with...
|
||||
# continue
|
||||
#fi
|
||||
|
||||
@@ -39,7 +39,7 @@ function parser-conflicts() {
|
||||
}
|
||||
|
||||
# loop through individual *.y files
|
||||
for file in `find . -maxdepth 9 -type f -name '*.y' -not -path './old/*' -not -path './tmp/*' -not -path 'vendor/*'`; do
|
||||
for file in `find . -maxdepth 9 -type f -name '*.y' -not -path './old/*' -not -path './tmp/*' -not -path './vendor/*'`; do
|
||||
run-test parser-indentation "$file"
|
||||
run-test parser-conflicts "$file"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user