version 1.15, 2003/08/08 13:28:48
|
version 1.22, 2008/11/01 18:03:06
|
Line 1
|
Line 1
|
#! /usr/local/bin/bash |
#! /bin/bash |
#test dist on all MACHINES given in MACHINES |
#test dist on all MACHINES given in MACHINES |
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz |
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz |
if test $# = 0; then |
if test $# = 0; then |
Line 6 if test $# = 0; then
|
Line 6 if test $# = 0; then
|
exit 1 |
exit 1 |
fi |
fi |
test "x$MACHINES" != x || |
test "x$MACHINES" != x || |
MACHINES="mips aertl@fpr.zserv.tuwien.ac.at \ |
MACHINES="a7 akrall@titan.zserv.tuwien.ac.at b2 b3 b6 c4 c6 c7 c8 iyonix mips ppc64 t1000" |
b1 b2 b3 b4 c2 \ |
#left out: c1 (NFS problem?), a5 (no working compiler with the right name) |
samhain.ifs.tuwien.ac.at calis aertl@mail.zserv.tuwien.ac.at \ |
#SSH_PROTOCOL=-oProtocol=1,2 |
aertl@stat.zserv.tuwien.ac.at \ |
|
rlwinm.ifs.tuwien.ac.at fmadd.ifs.tuwien.ac.at lfsux.ifs.tuwien.ac.at \ |
|
s4addq.ifs.tuwien.ac.at \ |
|
128.130.204.24 128.130.204.25 128.130.204.26 \ |
|
cdbook jupiter" |
|
#taken out: hpws03.infosys.tuwien.ac.at aertl@fbma.tuwien.ac.at w4.infosys.tuwien.ac.at d0 struppi pcs |
|
SSH_PROTOCOL=-oProtocol=1,2 |
|
for i in $MACHINES |
for i in $MACHINES |
do |
do |
if false; then |
if false; then |
Line 24 do
|
Line 17 do
|
else |
else |
( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \ |
( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \ |
scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \ |
scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \ |
ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; ./testdist `basename $1`" >>$i 2>&1; \ |
ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; nice ./testdist `basename $1`" >>$i 2>&1; \ |
echo "$i done" "`tail -1 $i`") & |
echo "$i done" "`tail -1 $i`" `grep "checking host system type..." $i|sed 's/checking host system type... //'|uniq` `grep "^gcc.*ok" $i` |
|
grep -A 2 "sieve bubble matrix fib" $i; echo) & |
fi |
fi |
done |
done |
wait |
wait |