[gforth] / gforth / testdist  

gforth: gforth/testdist

File: [gforth] / gforth / testdist (download)
Revision: 1.6, Tue Dec 22 23:11:29 1998 UTC (14 years, 5 months ago) by anton
Branch: MAIN
CVS Tags: v0-4-0, v0-5-0
Changes since 1.5: +1 -1 lines
fixed some bugs and problems

#! /bin/sh
#tests that dist works
#usage: testdist gforth-version.tar.gz
#gforth-version.tar.gz must be in the working directory
MACHINE=`hostname`
GFORTH=`basename $1 .tar.gz`
DIR=`pwd`
rm -rf $GFORTH
gunzip -cd $1 | tar xf -
if make --version|grep -q GNU
then
	echo building in build
	chmod -R a-w $GFORTH
	mkdir build
	cd build
	../$GFORTH/configure --prefix=$DIR/install
else
	echo building in $GFORTH
	cd $GFORTH
	./configure --prefix=$DIR/install
fi
make
make check
#gforth locals-test.fs
#gforth test-counted-loops.fs
make install
#make bench
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 ..

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help