mirror of https://github.com/Desuuuu/klipper.git
test: Expand whitespace checks to test files and test compile configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
58b77e783f
commit
bae094eac3
|
@ -22,6 +22,7 @@ WS_DIRS="config/ docs/ klippy/ scripts/ src/ test/"
|
||||||
WS_EXCLUDE="-path scripts/kconfig -prune"
|
WS_EXCLUDE="-path scripts/kconfig -prune"
|
||||||
WS_FILES="-o -iname '*.[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 -name '*.test' -o -name '*.config'"
|
||||||
WS_FILES="$WS_FILES -o -iname '*.lds' -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"
|
||||||
|
|
Loading…
Reference in New Issue