test: Expand whitespace checks to *.lds files

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-07-01 09:50:42 -04:00
parent 997719af13
commit 58b77e783f
1 changed files with 2 additions and 2 deletions

View File

@ -20,9 +20,9 @@ echo "travis_fold:start:check_whitespace"
echo "=============== Check whitespace" echo "=============== Check whitespace"
WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/" WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
WS_EXCLUDE="-path scripts/kconfig -prune" WS_EXCLUDE="-path scripts/kconfig -prune"
WS_FILES="-o -name '*.[csh]' -o -name '*.py' -o -name '*.sh'" WS_FILES="-o -iname '*.[csh]' -o -name '*.py' -o -name '*.sh'"
WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg'" WS_FILES="$WS_FILES -o -name '*.md' -o -name '*.cfg'"
WS_FILES="$WS_FILES -o -iname 'Makefile' -o -iname 'Kconfig'" WS_FILES="$WS_FILES -o -iname '*.lds' -o -iname 'Makefile' -o -iname 'Kconfig'"
eval find $WS_DIRS $WS_EXCLUDE $WS_FILES | xargs ./scripts/check_whitespace.py eval find $WS_DIRS $WS_EXCLUDE $WS_FILES | xargs ./scripts/check_whitespace.py
echo "travis_fold:end:check_whitespace" echo "travis_fold:end:check_whitespace"