tests/run-tests
changeset 1925 c71420b186b0
parent 1923 7d83a351a936
child 1932 82995896d5af
equal deleted inserted replaced
1924:46fb38ef9a91 1925:c71420b186b0
    16 LC_ALL=""; export LC_ALL
    16 LC_ALL=""; export LC_ALL
    17 TZ=GMT; export TZ
    17 TZ=GMT; export TZ
    18 HGEDITOR=true; export HGEDITOR
    18 HGEDITOR=true; export HGEDITOR
    19 HGMERGE=true; export HGMERGE
    19 HGMERGE=true; export HGMERGE
    20 HGUSER="test"; export HGUSER
    20 HGUSER="test"; export HGUSER
       
    21 
       
    22 ECHO_N="echo -n"
       
    23 [ -x /usr/ucb/echo ] && ECHO_N="/usr/ucb/echo -n"
    21 
    24 
    22 umask 022
    25 umask 022
    23 
    26 
    24 tests=0
    27 tests=0
    25 failed=0
    28 failed=0
   124 if [ -z "$TESTS" ] ; then
   127 if [ -z "$TESTS" ] ; then
   125     TESTS=`ls test-* | grep -v "[.~]"`
   128     TESTS=`ls test-* | grep -v "[.~]"`
   126 fi
   129 fi
   127 
   130 
   128 for f in $TESTS ; do
   131 for f in $TESTS ; do
   129     echo -n "."
   132     $ECHO_N "."
   130     run_one $f || failed=`expr $failed + 1`
   133     run_one $f || failed=`expr $failed + 1`
   131     tests=`expr $tests + 1`
   134     tests=`expr $tests + 1`
   132 done
   135 done
   133 
   136 
   134 echo
   137 echo