| MACHINE=`hostname` |
MACHINE=`hostname` |
| GFORTH=`basename $1 .tar.gz` |
GFORTH=`basename $1 .tar.gz` |
| result=ok |
result=ok |
| last=ok |
for CC in `(shopt -s nullglob; for i in /usr/sfw/bin /opt/csw/gcc4 \`echo $PATH|sed 's/:/ /g'\`; do for j in $i/gcc-*; do basename $j; done; done )|sort -u`; do |
| for CC in `(shopt -s nullglob; for i in \`echo $PATH|sed 's/:/ /g'\`; do for j in $i/gcc-*; do basename $j; done; done )|sort -u`; do |
|
| test $result = ok -a $last = ok || result=broken |
|
| last=broken |
last=broken |
| rm -rf $CC |
rm -rf $CC |
| mkdir $CC |
mkdir $CC |
| cd .. && |
cd .. && |
| install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye >&/dev/null && |
install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye >&/dev/null && |
| make -f build/Makefile onebench ENGINE_FAST=install/bin/gforth-fast && |
make -f build/Makefile onebench ENGINE_FAST=install/bin/gforth-fast && |
| gforth-fast --debug -e bye 2>&1 |grep 'Compiled with' && |
install/bin/gforth-fast --debug -e bye 2>&1 |grep 'Compiled with' ) && |
| echo $CC ok ) && |
|
| last=ok |
last=ok |
| |
echo $CC $last |
| chmod -R +w $GFORTH |
chmod -R +w $GFORTH |
| cd .. |
cd .. |
| test $result = ok -a $last = ok || result=broken |
test $result = ok -a $last = ok || result=broken |