version 1.17, 2008/10/25 17:18:42
|
version 1.19, 2008/10/25 22:48:20
|
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 a5 a7 b2 b3 c1 c4 c6 c7 c8 t1000 iyonix ppc64" |
MACHINES="a5 a7 b2 b3 c1 c4 c6 c7 c8 iyonix mips ppc64 t1000" |
SSH_PROTOCOL=-oProtocol=1,2 |
SSH_PROTOCOL=-oProtocol=1,2 |
for i in $MACHINES |
for i in $MACHINES |
do |
do |
if true; then |
if false; then |
echo; echo $i |
echo; echo $i |
/usr/bin/ssh $SSH_PROTOCOL -x $i echo ok |
/usr/bin/ssh $SSH_PROTOCOL -x $i echo ok |
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; ./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... //'` `grep "^gcc.*ok" $i` |
|
grep -A 2 "sieve bubble matrix fib" $i) & |
fi |
fi |
done |
done |
wait |
wait |