<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:10pt;font-family:Sans">
<p>On Friday 05 May 2006 12:33, Radim Blazek wrote:</p>
<p>> On 5/5/06, "Sören Gebbert" <soerengebbert@gmx.de> wrote:</p>
<p>> > Dear Radim,</p>
<p>> > good news! :)</p>
<p>> ></p>
<p>> > The lates version of the grass test suite (0.2.0.2) is working</p>
<p>> > (mostly complete) within the</p>
<p>> > MinGW environment of your latest Qgis-GRASS windows build.</p>
<p>> > Only my output generation script</p>
<p>> > has some problems, but this is related to me.</p>
<p>> ></p>
<p>> > I made some screenshots of the xterm output of the test suite</p>
<p>> > for database, general, raster, raster3d and vector tests.</p>
<p>> </p>
<p>> Nice and the result is not so bad. If you get the output working an HTML</p>
<p>> report will be available?</p>
<p></p>
<p>Of course .. but im still searching for the problem.</p>
<p></p>
<p>> </p>
<p>> Did you check the buffer output with validation-failure? Does it mean</p>
<p>> that it works on Linux and fails on Windows? Is it the output realy wrong</p>
<p>> or maybe just a difference in non significant decimal places?</p>
<p></p>
<p>No, i only made the test runs. I did not verify the validation erros.</p>
<p>But the module v.buffer is kind of strange while generating output with many lines and </p>
<p>buffers greater then ~50m on different machines (linux). </p>
<p>I checkded this some time ago and figured out, that the output is equal, but</p>
<p>the order of the produced lines is different between the machines! I have no clue why.... .</p>
<p>In this case the md5 checksum test will fail. </p>
<p>Even if i use valgrind for memchecks on the same machine, the v.buffer module shows this behavior:</p>
<p></p>
<p>You may want to look at the v.buffer test part of:</p>
<p>http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/html/</p>
<p></p>
<p>The Normal precision difference between machines is catched, because the float </p>
<p>output is truncatd of 3 decimal places via v.out.ascii.</p>
<p></p>
<p>> What does it mean dependencies not fulfilled?</p>
<p></p>
<p>This is a new feature. The test suite is trying to figure out what dependences the grass installation has.</p>
<p>e.g.: if gdal, ogr, postgresql, mysql and stuff is linked against grass</p>
<p></p>
<p>Within the test scripts you can define this dependences.</p>
<p>The r.in.gdal and r.out.gdal modules depend on gdal,</p>
<p>so i made the entry NEED_GDAL="yes" in the test scripts.</p>
<p></p>
<p>Example script: </p>
<p>http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/html//r.out.gdal-test.sh.html</p>
<p></p>
<p>Bevor the test is executed, the test suite trys to figure out if gdal is installed by testing if r.in.gdal was build ..... very simple,</p>
<p>but i have no other way to figure this out (If the build information is written to a txt file which will be available like the BULD file in $GISBASE/etc,</p>
<p>things would be much easier for me. )</p>
<p>If r.in.gdal is not found, the test suite guess that gdal is not installed and linked, so every test depending on gdal is not executed</p>
<p>and a warning message is printed to stdout.</p>
<p></p>
<p>These are the dependences the test suite figured out within windows:</p>
<p></p>
<p>BLAS no</p>
<p>CXX no</p>
<p>DWG no</p>
<p>FFMPEG no</p>
<p>FFTW no</p>
<p>FREETYPE no</p>
<p>GDAL no</p>
<p>GLW no</p>
<p>JPEG no</p>
<p>LAPACK no</p>
<p>LFS no</p>
<p>MOTIF no</p>
<p>MYSQL no</p>
<p>NLS no</p>
<p>ODBC no</p>
<p>OGR no</p>
<p>OPENGL no</p>
<p>PNG no</p>
<p>POSTGRESQL yes</p>
<p>PROJ.4 no</p>
<p>READLINE no</p>
<p>SQLITE yes</p>
<p>TCLTK no</p>
<p>TIFF no</p>
<p>X11 no</p>
<p></p>
<p>Some of them like BLAS, LAPACK, READLINE, LFS and FREETYPE are not checked, because id dont know how!</p>
<p>But the values can be changes in the GlobalSettings script:</p>
<p>http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/html//GlobalSettings.html</p>
<p></p>
<p>Within the test scipts several dependences can be defined, you may want to look at the Template:</p>
<p>http://www-pool.math.tu-berlin.de/~soeren/grass/GRASS_TestSuite/html//TestScriptTemplate.html</p>
<p></p>
<p>Best regards</p>
<p>Soeren</p>
<p></p>
<p>btw.:</p>
<p>Can i run those tests within Windows 98? So i can use vmware</p>
<p>and dont have to boot Windows XP. I have only one XP license.</p>
<p></p>
<p>> </p>
<p>> Radim</p>
<p>> </p>
<p>> > Great work Radim!!!</p>
<p>> ></p>
<p>> > Best regards</p>
<p>> > Soeren</p>
<p>> ></p>
<p>> > btw.:</p>
<p>> > Sorry for those ugly pictures,</p>
<p>> > but my windows-gimp is not in a recent version.</p>
<p>> ></p>
<p>> > --</p>
<p>> > Echte DSL-Flatrate dauerhaft für 0,- Euro*!</p>
<p>> > "Feel free" mit GMX DSL! http://www.gmx.net/de/go/dsl</p>
<p>> ></p>
<p>> ></p>
<p>> </p>
<p>> </p>
<p></p>
</body></html>