| MACHINE=`hostname` |
MACHINE=`hostname` |
| GFORTH=`basename $1 .tar.gz` |
GFORTH=`basename $1 .tar.gz` |
| DIR=`pwd` |
DIR=`pwd` |
| |
chmod -R +w $GFORTH |
| rm -rf $GFORTH |
rm -rf $GFORTH |
| gunzip -cd $1 | tar xf - |
gunzip -cd $1 | tar xf - |
| if make --version|grep -q GNU |
if make --version|grep -q GNU |
| cd $GFORTH |
cd $GFORTH |
| ./configure --prefix=$DIR/install |
./configure --prefix=$DIR/install |
| fi |
fi |
| make |
make && |
| make check |
make check && |
| #gforth locals-test.fs |
#gforth locals-test.fs |
| #gforth test-counted-loops.fs |
#gforth test-counted-loops.fs |
| make install |
make install && |
| #make bench |
#make bench |
| cd .. |
cd vmgen-ex && |
| |
PATH=$DIR/install/bin:$PATH make check && |
| |
cd .. && |
| |
cd .. && |
| install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && echo test ok |
install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && echo test ok |
| chmod -R +w $GFORTH |
chmod -R +w $GFORTH |
| cd .. |
cd .. |