Annotation of gforth/testall, revision 1.21

1.17      anton       1: #! /bin/bash
1.1       anton       2: #test dist on all MACHINES given in MACHINES
                      3: #usage: MACHINES="..." testall dirs/gforth-version.tar.gz
1.9       anton       4: if test $# = 0; then
                      5:   echo "usage: `basename $0` gforth-xxx.tar.gz"
                      6:   exit 1
                      7: fi
1.10      anton       8: test "x$MACHINES" != x || 
1.21    ! anton       9: MACHINES="a5 a7 akrall@titan.zserv.tuwien.ac.at b2 b3 b6 c4 c6 c7 c8 iyonix mips ppc64 t1000"
        !            10: #left out (NFS problem?): c1
        !            11: #SSH_PROTOCOL=-oProtocol=1,2
1.1       anton      12: for i in $MACHINES
                     13: do
1.18      anton      14:   if false; then
1.15      anton      15:     echo; echo $i
                     16:     /usr/bin/ssh $SSH_PROTOCOL -x $i echo ok
                     17:   else
1.10      anton      18:     ( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \
                     19:       scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \
1.21    ! anton      20:       ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; nice ./testdist `basename $1`" >>$i 2>&1; \
1.20      anton      21:       echo "$i done" "`tail -1 $i`" `grep "checking host system type..." $i|sed 's/checking host system type... //'|uniq` `grep "^gcc.*ok" $i`
                     22:       grep -A 2 "sieve bubble matrix  fib" $i; echo) &
1.15      anton      23:   fi
1.1       anton      24: done
                     25: wait
                     26: echo all done

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