File:  [gforth] / gforth / testclean
Revision 1.6: download - view: text, annotated - select for diffs
Sat Sep 23 18:59:00 2000 UTC (17 years, 2 months ago) by anton
Branches: MAIN
CVS tags: v0-7-0, v0-6-2, v0-6-1, v0-6-0, v0-5-0, HEAD
updated version number and README

#usage: invoke this in the gforth directory
GFORTH=gforth-0.5.0
make dist >/dev/null 2>/dev/null
mkdir xxxtest
cd xxxtest
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 >/dev/null 2>/dev/null
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 >/dev/null 2>/dev/null
cd ../..
echo checking clean
diff -ru orig changed
cd ..
rm -rf xxxtest

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