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

@@ -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,12 +43,12 @@ 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
if [ $? -ne 0 ]
if [ $? -ne 0 ]
then
echo "********* FAILED CHECK FOR $i *************"
FAIL=1