Tests: Add scala files to UTF-8 tests

Make tests less noisy
This commit is contained in:
zzz
2018-05-03 13:00:08 +00:00
parent c9a6fab638
commit 2efd544713
3 changed files with 7 additions and 7 deletions

View File

@ -54,7 +54,7 @@ SCRIPTFILES="\
"
for script in $SCRIPTFILES; do
echo "Checking $script ..."
#echo "Checking $script ..."
if sh -n "$script" ; then : ; else
echo "********* FAILED CHECK FOR $script *************"
FAIL=1

View File

@ -34,7 +34,7 @@ DIRS="\
for i in `find $DIRS -maxdepth 1 -type f`
do
echo "Checking $i ..."
#echo "Checking $i ..."
iconv -f UTF8 -t UTF8 $i -o /dev/null
if [ $? -ne 0 ]
then
@ -43,8 +43,8 @@ do
fi
done
echo "Checking all Java files ..."
for i in `find . -name \*.java -type f`
echo "Checking all Java and Scala files ..."
for i in `find . \( -name \*.java -o -name \*.scala \) -type f`
do
#echo "Checking $i ..."
iconv -f UTF8 -t UTF8 $i -o /dev/null

View File

@ -108,7 +108,7 @@ HTMLFILES="\
echo 'Checking XML files....................'
for i in $XMLFILES
do
echo "Checking $i ..."
#echo "Checking $i ..."
xmllint --noout $i
if [ $? -ne 0 ]
then
@ -120,7 +120,7 @@ done
echo 'Checking HTML files....................'
for i in $HTMLFILES
do
echo "Checking $i ..."
#echo "Checking $i ..."
xmllint --html --noout $i
# FIXME html mode never exits with an error code
# ... but it does output errors