Changes between Initial Version and Version 1 of TestingNotes


Ignore:
Timestamp:
Oct 26, 2007, 9:04:58 PM (17 years ago)
Author:
warmerdam
Comment:

new

Legend:

Unmodified
Added
Removed
Modified
  • TestingNotes

    v1 v1  
     1
     2= Testing =
     3
     4== gdalautotest ==
     5
     6The primary means of testing is to run the [http://trac.osgeo.org/gdal/browser/trunk/gdalautotest gdalautotest] python regression test suite.  After building with either the old or new generation python bindings, and installing them (or adding them to your path from the build tree) do the following:
     7
     8{{{
     9% svn checkout https://svn.osgeo.org/gdal/trunk/gdalautotest
     10% cd gdalautotest
     11% ./run_all.py
     12}}}
     13
     14This should result in something ending like:
     15
     16{{{
     17...
     18
     19}}}
     20
     21== Locale Testing ==
     22
     23To test if GDAL/OGR is working well in a particular locale it is possible to pass the desired locale to most GDAL commands, including the gdalautotest scripts via the --locale switch.  On my Ubuntu system I have specifically installed the de (German) locales which uses a comma in place of a period for a decimal marker.  To check if things are working in this condition I do something like:
     24
     25{{{
     26% cd gdalautotest/gdrivers
     27% ./wcs.py --locale de_DE.utf8
     28}}}
     29
     30Exact locale names may vary by platform and installation details. On linux it is usually possible to get a list of available locales using the "locale -a" command.
     31
     32