I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 2efd5447 authored by zzz's avatar zzz
Browse files

Tests: Add scala files to UTF-8 tests

Make tests less noisy
parent c9a6fab6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment