Commit 22292e60 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

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.
parent 1afb76a6
......@@ -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 ||
......
......@@ -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 ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment