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
|
|
@ -48,7 +48,9 @@ for dir in "${srcdir-.}/../../spot" "${srcdir-.}/.."; do
|
|||
-o -name "${1-*}.hxx" \
|
||||
-o -name "${1-*}.cc" \
|
||||
-o -name "${1-*}.py" \
|
||||
-o -name "${1-*}.test" \) -a -type f -a -print |
|
||||
-o -name "${1-*}.test" \) \
|
||||
-a -not -path '*.dir/*' \
|
||||
-a -type f -a -print |
|
||||
while read file; do
|
||||
if (expand $file | grep -q $x) 2>/dev/null; then
|
||||
if grep 'GNU Bison' "$file" >/dev/null ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue