--- gforth/testdist 2001/05/01 14:35:00 1.8 +++ gforth/testdist 2003/03/02 21:25:20 1.12 @@ -8,7 +8,7 @@ DIR=`pwd` chmod -R +w $GFORTH rm -rf $GFORTH gunzip -cd $1 | tar xf - -if make --version|grep -q GNU +(if make --version|grep -q GNU then echo building in build chmod -R a-w $GFORTH @@ -19,18 +19,21 @@ else echo building in $GFORTH cd $GFORTH ./configure --prefix=$DIR/install -fi +fi && make && make check && #gforth locals-test.fs #gforth test-counted-loops.fs make install && -#make bench -chmod -R +w ../$GFORTH/vmgen-ex && +#make all-bench && +chmod -R +w ../$GFORTH/vmgen-ex ../$GFORTH/vmgen-ex2 && cd ../$GFORTH/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 +PATH=$DIR/install/bin:$PATH make check GCC="cc -O" && +cd ../vmgen-ex2 && +PATH=$DIR/install/bin:$PATH make check GCC="cc -O" && +cd .. && +cd .. && +install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && +echo test ok ) chmod -R +w $GFORTH cd ..