Changeset 2efd544 for tests


Ignore:
Timestamp:
May 3, 2018 1:00:08 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
a548c30
Parents:
c9a6fab
Message:

Tests: Add scala files to UTF-8 tests
Make tests less noisy

Location:
tests/scripts
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/checkscripts.sh

    rc9a6fab r2efd544  
    5555
    5656for script in $SCRIPTFILES; do
    57     echo "Checking $script ..."
     57    #echo "Checking $script ..."
    5858    if sh -n "$script" ; then : ; else
    5959        echo "********* FAILED CHECK FOR $script *************"
  • tests/scripts/checkutf8.sh

    rc9a6fab r2efd544  
    3535for i in `find $DIRS -maxdepth 1 -type f`
    3636do
    37         echo "Checking $i ..."
     37        #echo "Checking $i ..."
    3838        iconv -f UTF8 -t UTF8 $i -o /dev/null
    3939        if [ $? -ne 0 ]
     
    4444done
    4545
    46 echo "Checking all Java files ..."
    47 for i in `find . -name \*.java -type f`
     46echo "Checking all Java and Scala files ..."
     47for i in `find . \( -name \*.java -o -name \*.scala \) -type f`
    4848do
    4949        #echo "Checking $i ..."
    5050        iconv -f UTF8 -t UTF8 $i -o /dev/null
    51         if [ $? -ne 0 ]
     51        if [ $? -ne 0 ]
    5252        then
    5353                echo "********* FAILED CHECK FOR $i *************"
  • tests/scripts/checkxml.sh

    rc9a6fab r2efd544  
    109109for i in $XMLFILES
    110110do
    111         echo "Checking $i ..."
     111        #echo "Checking $i ..."
    112112        xmllint --noout $i
    113113        if [ $? -ne 0 ]
     
    121121for i in $HTMLFILES
    122122do
    123         echo "Checking $i ..."
     123        #echo "Checking $i ..."
    124124        xmllint --html --noout $i
    125125        # FIXME html mode never exits with an error code
Note: See TracChangeset for help on using the changeset viewer.