File:  [gforth] / gforth / testall
Revision 1.9: download - view: text, annotated - select for diffs
Sat Sep 23 18:59:00 2000 UTC (19 years ago) by anton
Branches: MAIN
CVS tags: v0-5-0, HEAD
updated version number and README

    1: #! /usr/local/bin/bash
    2: #test dist on all MACHINES given in MACHINES
    3: #usage: MACHINES="..." testall dirs/gforth-version.tar.gz
    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
   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; \
   15: 	 echo "$i done" `tail -1 $i`) &
   16: done
   17: wait
   18: echo all done

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