Diff for /gforth/testall between versions 1.9 and 1.21

version 1.9, 2000/09/23 18:59:00 version 1.21, 2008/11/01 17:10:57
Line 1 Line 1
 #! /usr/local/bin/bash  #! /bin/bash
 #test dist on all MACHINES given in MACHINES  #test dist on all MACHINES given in MACHINES
 #usage: MACHINES="..." testall dirs/gforth-version.tar.gz  #usage: MACHINES="..." testall dirs/gforth-version.tar.gz
 if test $# = 0; then  if test $# = 0; then
   echo "usage: `basename $0` gforth-xxx.tar.gz"    echo "usage: `basename $0` gforth-xxx.tar.gz"
   exit 1    exit 1
 fi  fi
 test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips aertl@fpr.zserv.tuwien.ac.at aertl@stat.zserv.tuwien.ac.at a5 w4.infosys.tuwien.ac.at samhain.ifs.tuwien.ac.at calis a9"  test "x$MACHINES" != x || 
 #taken out: hpws03.infosys.tuwien.ac.at aertl@fbma.tuwien.ac.at  MACHINES="a5 a7 akrall@titan.zserv.tuwien.ac.at b2 b3 b6 c4 c6 c7 c8 iyonix mips ppc64 t1000"
   #left out (NFS problem?): c1
   #SSH_PROTOCOL=-oProtocol=1,2
 for i in $MACHINES  for i in $MACHINES
 do  do
         ( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \    if false; then
          scp -pq $1 testdist $i:xxxgforthtest/$i; \      echo; echo $i
          ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \      /usr/bin/ssh $SSH_PROTOCOL -x $i echo ok
          echo "$i done" `tail -1 $i`) &    else
       ( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \
         scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \
         ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; nice ./testdist `basename $1`" >>$i 2>&1; \
         echo "$i done" "`tail -1 $i`" `grep "checking host system type..." $i|sed 's/checking host system type... //'|uniq` `grep "^gcc.*ok" $i`
         grep -A 2 "sieve bubble matrix  fib" $i; echo) &
     fi
 done  done
 wait  wait
 echo all done  echo all done

Removed from v.1.9  
changed lines
  Added in v.1.21


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>