File:  [gforth] / gforth / testclean
Revision 1.2: download - view: text, annotated - select for diffs
Thu Mar 20 14:39:53 1997 UTC (22 years, 6 months ago) by anton
Branches: MAIN
CVS tags: v0-3-0, HEAD
fixed a few Makefile bugs (make clean)
renamed blocks.fs:flush-file into flush-blocks
fixed bell bug (now flushes the output)
documentation changes

#usage: invoke this in the gforth directory
GFORTH=gforth-0.3.0
make dist
mkdir test
cd test
for i in orig changed
do
  mkdir $i
  cd $i
  tar xfz ../../$GFORTH.tar.gz
  cd ..
done
cd changed/$GFORTH
./configure >/dev/null
make >/dev/null 2>/dev/null
make distclean
cd ../..
echo checking distclean
diff -rq orig changed
for i in orig changed
do
  cd $i/$GFORTH
  ./configure >/dev/null
  cd ../..
done
cd changed/$GFORTH
make >/dev/null 2>/dev/null
make clean
cd ../..
echo checking clean
diff -rq orig changed
cd ..
rm -rf test

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>