File:  [gforth] / gforth / testall
Revision 1.22: download - view: text, annotated - select for diffs
Sat Nov 1 18:03:06 2008 UTC (10 years, 9 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, HEAD
install.TAGS bugfix
set special skipcode for power architecture to work with gcc-3.[34]

    1: #! /bin/bash
    2: #test dist on all MACHINES given in MACHINES
    3: #usage: MACHINES="..." testall dirs/gforth-version.tar.gz
    4: if test $# = 0; then
    5:   echo "usage: `basename $0` gforth-xxx.tar.gz"
    6:   exit 1
    7: fi
    8: test "x$MACHINES" != x || 
    9: MACHINES="a7 akrall@titan.zserv.tuwien.ac.at b2 b3 b6 c4 c6 c7 c8 iyonix mips ppc64 t1000"
   10: #left out: c1 (NFS problem?), a5 (no working compiler with the right name)
   11: #SSH_PROTOCOL=-oProtocol=1,2
   12: for i in $MACHINES
   13: do
   14:   if false; then
   15:     echo; echo $i
   16:     /usr/bin/ssh $SSH_PROTOCOL -x $i echo ok
   17:   else
   18:     ( ssh $SSH_PROTOCOL -q -x $i "test -d xxxgforthtest||mkdir xxxgforthtest; cd xxxgforthtest; test -d $i||mkdir $i; rm -rf $i/*" >$i 2>&1; \
   19:       scp $SSH_PROTOCOL -p -q $1 ../testdist $i:xxxgforthtest/$i >>$i 2>&1; \
   20:       ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; nice ./testdist `basename $1`" >>$i 2>&1; \
   21:       echo "$i done" "`tail -1 $i`" `grep "checking host system type..." $i|sed 's/checking host system type... //'|uniq` `grep "^gcc.*ok" $i`
   22:       grep -A 2 "sieve bubble matrix  fib" $i; echo) &
   23:   fi
   24: done
   25: wait
   26: echo all done

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