Version 1 (modified by 16 years ago) ( diff ) | ,
---|
Testing
gdalautotest
The primary means of testing is to run the 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:
% svn checkout https://svn.osgeo.org/gdal/trunk/gdalautotest % cd gdalautotest % ./run_all.py
This should result in something ending like:
...
Locale Testing
To 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:
% cd gdalautotest/gdrivers % ./wcs.py --locale de_DE.utf8
Exact 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.