File:  [gforth] / gforth / testall
Revision 1.4: download - view: text, annotated - select for diffs
Sat Jul 15 19:58:47 2000 UTC (19 years ago) by anton
Branches: MAIN
CVS tags: HEAD
changes to make snapshot work

#! /usr/local/bin/bash
#test dist on all MACHINES given in MACHINES
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz
test "x$MACHINES" != x || MACHINES="jupiter pcs d0 mips calis a5 w4.infosys.tuwien.ac.at samhain.ifs.tuwien.ac.at"
#taken out: hpws03.infosys.tuwien.ac.at aertl@fpr.zserv.tuwien.ac.at 
for i in $MACHINES
do
	( ssh $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*"; \
	 scp -pq $1 testdist $i:xxxgforthtest/$i; \
	 ssh $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >$i 2>&1; \
	 echo "$i done" `tail -1 $i`) &
done
wait
echo all done

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