File:  [gforth] / gforth / testclean
Revision 1.5: download - view: text, annotated - select for diffs
Sat Jul 15 19:58:47 2000 UTC (23 years, 9 months ago) by anton
Branches: MAIN
CVS tags: HEAD
changes to make snapshot work

#usage: invoke this in the gforth directory
GFORTH=gforth-0.4.9-20000715
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>