![]() ![]() | ![]() |
fixed some bugs and problems
1: #! /bin/sh 2: #tests that dist works 3: #usage: testdist gforth-version.tar.gz 4: #gforth-version.tar.gz must be in the working directory 5: MACHINE=`hostname` 6: GFORTH=`basename $1 .tar.gz` 7: DIR=`pwd` 8: rm -rf $GFORTH 9: gunzip -cd $1 | tar xf - 10: if make --version|grep -q GNU 11: then 12: echo building in build 13: chmod -R a-w $GFORTH 14: mkdir build 15: cd build 16: ../$GFORTH/configure --prefix=$DIR/install 17: else 18: echo building in $GFORTH 19: cd $GFORTH 20: ./configure --prefix=$DIR/install 21: fi 22: make 23: make check 24: #gforth locals-test.fs 25: #gforth test-counted-loops.fs 26: make install 27: #make bench 28: cd .. 29: install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && echo test ok 30: chmod -R +w $GFORTH 31: cd ..