File:  [gforth] / gforth / testall
Revision 1.21: download - view: text, annotated - select for diffs
Sat Nov 1 17:10:57 2008 UTC (14 years, 1 month ago) by anton
Branches: MAIN
CVS tags: HEAD
worked around HP/UX awk limitations by replacing awk script with gforth script
put some workarounds for specific boxes into testall and testdist

#! /bin/bash
#test dist on all MACHINES given in MACHINES
#usage: MACHINES="..." testall dirs/gforth-version.tar.gz
if test $# = 0; then
  echo "usage: `basename $0` gforth-xxx.tar.gz"
  exit 1
test "x$MACHINES" != x || 
MACHINES="a5 a7 b2 b3 b6 c4 c6 c7 c8 iyonix mips ppc64 t1000"
#left out (NFS problem?): c1
for i in $MACHINES
  if false; then
    echo; echo $i
    /usr/bin/ssh $SSH_PROTOCOL -x $i echo ok
    ( 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; \
      ssh $SSH_PROTOCOL -q -x $i "cd xxxgforthtest/$i; nice ./testdist `basename $1`" >>$i 2>&1; \
      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) &
echo all done

FreeBSD-CVSweb <>