File:  [gforth] / gforth / testclean
Revision 1.6: download - view: text, annotated - select for diffs
Sat Sep 23 18:59:00 2000 UTC (19 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

    1: #usage: invoke this in the gforth directory
    2: GFORTH=gforth-0.5.0
    3: make dist >/dev/null 2>/dev/null
    4: mkdir xxxtest
    5: cd xxxtest
    6: for i in orig changed
    7: do
    8:   mkdir $i
    9:   cd $i
   10:   tar xfz ../../$GFORTH.tar.gz
   11:   cd ..
   12: done
   13: cd changed/$GFORTH
   14: ./configure >/dev/null
   15: make >/dev/null 2>/dev/null
   16: make distclean >/dev/null 2>/dev/null
   17: cd ../..
   18: echo checking distclean
   19: diff -rq orig changed
   20: for i in orig changed
   21: do
   22:   cd $i/$GFORTH
   23:   ./configure >/dev/null
   24:   cd ../..
   25: done
   26: cd changed/$GFORTH
   27: make >/dev/null 2>/dev/null
   28: make clean >/dev/null 2>/dev/null
   29: cd ../..
   30: echo checking clean
   31: diff -ru orig changed
   32: cd ..
   33: rm -rf xxxtest

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