File:  [gforth] / gforth / testall
Revision 1.3: download - view: text, annotated - select for diffs
Fri Jun 18 15:19:13 1999 UTC (20 years ago) by anton
Branches: MAIN
CVS tags: HEAD
bug fixes

#! /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="pcs d0 mips calis a5 w4.infosys.tuwien.ac.at hpws03.infosys.tuwien.ac.at aertl@fpr.zserv.tuwien.ac.at samhain.unix.cslab.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" ) &
done
wait
echo all done

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