[GRASS5] Re: [GRASSLIST:496] Re: GRASS test suite

Radim Blazek radim.blazek at gmail.com
Fri Mar 31 04:47:26 EST 2006


On 3/31/06, Sören Gebbert <soerengebbert at gmx.de> wrote:
> Hi Radim,
>
> On Friday 31 March 2006 10:31, Radim Blazek wrote:
> > Good,
> >
> > could you please run it also on Windows version?
> > http://mpa.itc.it/radim/wingrass/qgis-0.8.0-preview-win32-060329.zip
> >
> > The package includes MSYS and shell so it should be possible
> > to run your test. You can either start it from script setting GISRC
> > or you can start QGIS, open a mapset and then start GRASS shell
> > from GRASS tools.
> >
> > Radim
>
> I will try, but i think this wont work. I'm using some Unix tools like sed,  rm and stuff.
> I will see if MSYS provides those tools, because i didnt find much information about this toolset
> at http://www.mingw.org/msys.shtml ... . I think this is only a bash and tar????
>
> I tried first to use only bash functionality, but this functionality is to limited
> for the test suite. So i had to use Unix tools too.
>
> Also md5sum must be installed in windows,
> otherwise the md5 checksum tests are not available.
>
> Is there no other bash-unix-tool environment for windows available?
> I didnt found one.

MSYS includes:
basename.exe  env.exe      install.exe       od.exe     tail.exe
bzip2.exe     expr.exe     install-info.exe  patch.exe  tar.exe
cat.exe       false.exe    less.exe          ps.exe     tee.exe
chmod.exe     find.exe     ln.exe            rmdir.exe  texindex.exe
cmp.exe       fold.exe     ls.exe            rm.exe     touch.exe
comm.exe      gawk.exe     m4.exe            rxvt.exe   tr.exe
cp.exe        grep.exe     make.exe          sed.exe    true.exe
cut.exe       gzip.exe     makeinfo.exe      sh.exe     uname.exe
date.exe      head.exe     md5sum.exe        sleep.exe  uniq.exe
diff3.exe     id.exe       mkdir.exe         sort.exe   vim.exe
diff.exe      info.exe     mount.exe         split.exe  wc.exe
dirname.exe   infokey.exe  mv.exe            stty.exe   xargs.exe

> And how about the existing shell scripts in grass,
> do they work with MSYS and GRASS with windows?

At moment no because of the problem with variables I reported yesterday,
but they will work soon using sh.exe from MSYS.

Radim

> I will try this out this evening.
> Best regards
> Soeren
>
> >
> >
> > On 3/30/06, Sören Gebbert <soerengebbert at gmx.de> wrote:
> > > Hi all,
> > > since some weeks i'm developing a test suite for GRASS.
> > > I have implemented a test frame work and some basic tests.
> > >
> > > I would like to have some feedback from the devs and users if the concept
> > > of the test suite is correct or even meaningful, because i'm thinking a test suite is very important
> > > for GRASS, especially for the development process.
> > >
> > > I hope to provide an environment for easy test development to support
> > > stability and error reduction for GRASS.
> > >
> > > You can download the latest test suite and the test location here:
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/GRASS_Testsuite.tar.gz
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/spearfish_grass60data.tar.gz
> > >
> > > The test suite will only work correctly within the test location (this is the newest
> > > not modified spearfish60 location) and with a fresh grass-6.1 cvs version!
> > >
> > > If you run the test suite, you can compare your results with my results:
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/html/GRASSSummary.html
> > >
> > > I made a (currently incomplete) video tutorial in german and a pdf presentation in english and german.
> > > Because i'm not a nativ english speaker, i would encourage the native's to check the
> > > english presentation. It would be a great help for me, if you can support me to write better
> > > presentations and tutorials.
> > >
> > > The video tutorials and the pdf presentations are available here:
> > >
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/modules/
> > >
> > > The video tutorial is splitted into two parts. The first part is completely in
> > > german and shows only the presentation, which are also available
> > > in english and german as pdf and OpenOffice2 format.
> > >
> > > The second part of the video tutorial shows the handling of the test suite and ist partly in german (the small text parts).
> > > Those small text parts are also available in the english pdf presentation.
> > > So if you read the english pdf presentation, you can easily follow the second part of the tutorial.
> > >
> > > English presentation:
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/GRASS-Testsuite-Presentation-OO2-New_en.pdf
> > > Part two of the tutorial:
> > > http://www-pool.math.tu-berlin.de/~soeren/grass/modules/Tutorials/Testsuite/Testsuite_Tutorial_part2_de.html
> > >
> > > I wish to add an english tutorial too, but have no time for that for the next months.
> > >
> > > Thank you in advance for your
> > > comments, suggestions or constructive criticism.
> > > Everything is welcome!!
> > >
> > > Best regards
> > > Soeren
> > >
> > >
> >
> >
>




More information about the grass-dev mailing list