* src/sanity/style.test: Check the iface/ tree too.

* iface/gspn/gspn.cc, iface/gspn/ssp.cc: Fix style.
This commit is contained in:
Alexandre Duret-Lutz 2004-05-21 11:55:36 +00:00
parent da2d2e19b1
commit 3e968a3c9d
4 changed files with 67 additions and 61 deletions

View file

@ -1,5 +1,8 @@
2004-05-21 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/sanity/style.test: Check the iface/ tree too.
* iface/gspn/gspn.cc, iface/gspn/ssp.cc: Fix style.
* src/sanity/80columns.test: Check the iface/ tree too.
* iface/gspn/dcswaveltl.test, iface/gspn/dcswavefm.test,
iface/gspn/dcswaveeltl.test, iface/gspn/udcsltl.test,

View file

@ -21,7 +21,9 @@ export GREP_COLOR
tmp=incltest.tmp
find "${INCDIR-..}" \( -name "${1-*}.hh" -o -name "${1-*}.cc" \) \
for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
find "$dir" \( -name "${1-*}.hh" -o -name "${1-*}.cc" \) \
-a -type f -a -print |
while read file; do
if grep 'GNU Bison' "$file" >/dev/null ||
@ -95,6 +97,7 @@ while read file; do
$fail && echo "$file" >>failures
done
done
if test -f failures; then
echo "The following files contain style errors:"