sanity: do not check source files in *.dir/*
Because gal2c generates some C++ sources that do not match our coding convention and should not be checked. * tests/sanity/80columns.test, tests/sanity/style.test: Do not test files in tests' work directories.
This commit is contained in:
parent
1afb76a630
commit
22292e6058
2 changed files with 5 additions and 2 deletions
|
|
@ -64,7 +64,8 @@ for dir in "$TOP/spot" "$TOP/bin" "$TOP/tests"; do
|
|||
-o -name "${1-*}.hxx" \
|
||||
-o -name "${1-*}.cc" \
|
||||
-o -name "${1-*}.test" \) \
|
||||
-a -type f -a -print |
|
||||
-a -not -path '*.dir/*' \
|
||||
-a -type f -a -print |
|
||||
while read file; do
|
||||
|
||||
if $GREP 'GNU Bison' "$file" >/dev/null ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue