Annotation of gforth/testall, revision 1.9
1.1 anton 1: #! /usr/local/bin/bash
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
! 8: 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"
! 9: #taken out: hpws03.infosys.tuwien.ac.at aertl@fbma.tuwien.ac.at
1.1 anton 10: for i in $MACHINES
11: do
12: ( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \
13: scp -pq $1 testdist $i:xxxgforthtest/$i; \
14: ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \
1.4 anton 15: echo "$i done" `tail -1 $i`) &
1.1 anton 16: done
17: wait
18: echo all done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>