--- gforth/testdist 2003/02/01 19:59:15 1.11 +++ gforth/testdist 2003/08/08 13:28:49 1.13 @@ -8,10 +8,11 @@ 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 + rm -rf build mkdir build cd build ../$GFORTH/configure --prefix=$DIR/install @@ -19,7 +20,7 @@ else echo building in $GFORTH cd $GFORTH ./configure --prefix=$DIR/install -fi +fi && make && make check && #gforth locals-test.fs @@ -28,12 +29,12 @@ make install && #make all-bench && chmod -R +w ../$GFORTH/vmgen-ex ../$GFORTH/vmgen-ex2 && cd ../$GFORTH/vmgen-ex && -PATH=$DIR/install/bin:$PATH make check GCC="cc -O" && +PATH=$DIR/install/bin:$PATH make check GCC="cc -O" YACC=yacc && cd ../vmgen-ex2 && -PATH=$DIR/install/bin:$PATH make check GCC="cc -O" && +PATH=$DIR/install/bin:$PATH make check GCC="cc -O" YACC=yacc && cd .. && cd .. && install/bin/gforth test/tester.fs test/coretest.fs test/postpone.fs test/dbltest.fs -e bye && -echo test ok +echo test ok ) chmod -R +w $GFORTH cd ..