File:  [gforth] / gforth / testall
Revision 1.16: download - view: text, annotated - select for diffs
Wed Aug 27 12:13:49 2003 UTC (16 years, 1 month ago) by anton
Branches: MAIN
CVS tags: HEAD
now an is-branch? field is generated engine/costs.i
fixed some typos in README
changed default threading scheme for generic machine

    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 || 
    9: MACHINES="mips aertl@fpr.zserv.tuwien.ac.at \
   10: b1 b2 b3 b4 c2 \
   11: samhain.ifs.tuwien.ac.at calis aertl@mail.zserv.tuwien.ac.at \
   12: aertl@stat.zserv.tuwien.ac.at \
   13: rlwinm.ifs.tuwien.ac.at fmadd.ifs.tuwien.ac.at lfsux.ifs.tuwien.ac.at \
   14: s4addq.ifs.tuwien.ac.at \
   15: 128.130.204.24 128.130.204.25 128.130.204.26 \
   16: cdbook jupiter \
   17: complang@red.a-business.co.at"
   18: #taken out: hpws03.infosys.tuwien.ac.at aertl@fbma.tuwien.ac.at w4.infosys.tuwien.ac.at d0 struppi pcs
   19: SSH_PROTOCOL=-oProtocol=1,2
   20: for i in $MACHINES
   21: do
   22:   if false; then
   23:     echo; echo $i
   24:     /usr/bin/ssh $SSH_PROTOCOL -x $i echo ok
   25:   else
   26:     ( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \
   27:       scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \
   28:       ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >>$i 2>&1; \
   29:       echo "$i done" "`tail -1 $i`") &
   30:   fi
   31: done
   32: wait
   33: echo all done

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