File:  [gforth] / gforth / testall
Revision 1.1: download - view: text, annotated - select for diffs
Mon Dec 21 22:52:30 1998 UTC (20 years, 9 months ago) by anton
Branches: MAIN
CVS tags: HEAD
prim: suppressed a few warnings
updated testdist and introduced testall for automatic testing on many machines

    1: #! /usr/local/bin/bash
    2: #test dist on all MACHINES given in MACHINES
    3: #usage: MACHINES="..." testall dirs/gforth-version.tar.gz
    4: test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips calis a5 w3.infosys.tuwien.ac.at hpws01.infosys.tuwien.ac.at aertl@fpr.zserv.tuwien.ac.at samhain.unix.cslab.tuwien.ac.at"
    5: for i in $MACHINES
    6: do
    7: 	( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \
    8: 	 scp -pq $1 testdist $i:xxxgforthtest/$i; \
    9: 	 ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \
   10: 	 echo "$i done" ) &
   11: done
   12: wait
   13: echo all done

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