| 1 : |
anton
|
1.1
|
#tests that dist works |
| 2 : |
|
|
#call this with gforth-$(version).tar.gz in the working directory |
| 3 : |
anton
|
1.3
|
#use this if your make handles VPATH ok |
| 4 : |
|
|
GFORTH=gforth-0.3.0 |
| 5 : |
anton
|
1.1
|
mkdir test |
| 6 : |
|
|
cd test |
| 7 : |
|
|
DIR=$PWD |
| 8 : |
|
|
gunzip -cd ../$GFORTH.tar.gz|tar xf - |
| 9 : |
|
|
chmod -R a-w $GFORTH |
| 10 : |
|
|
mkdir build |
| 11 : |
|
|
cd build |
| 12 : |
|
|
../$GFORTH/configure --prefix=$DIR/install |
| 13 : |
|
|
make |
| 14 : |
|
|
make check |
| 15 : |
|
|
#gforth locals-test.fs |
| 16 : |
|
|
#gforth test-counted-loops.fs |
| 17 : |
|
|
make install |
| 18 : |
|
|
make bench |
| 19 : |
|
|
cd .. |
| 20 : |
|
|
install/bin/gforth tester.fs coretest.fs postponetest.fs dbltest.fs -e bye |
| 21 : |
|
|
chmod -R +w $GFORTH |
| 22 : |
|
|
cd .. |
| 23 : |
|
|
rm -rf test |