Changes between Version 3 and Version 4 of TestingNotes


Ignore:
Timestamp:
Nov 12, 2007, 1:16:58 PM (16 years ago)
Author:
Even Rouault
Comment:

add notes about test_ogrsf

Legend:

Unmodified
Added
Removed
Modified
  • TestingNotes

    v3 v4  
    4444Exact 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.
    4545
     46== OGR driver testing ==
    4647
     48When developing a new OGR driver, you can test its consistency on a given data file.
     49
     50{{{
     51% cd apps
     52% make test_ogrsf
     53% ./test_ogrsf your_data_file
     54}}}
     55
     56A report like this will be generated if everything is OK :
     57
     58{{{
     59INFO: Open of `../../../sample.gpx' using driver `GPX' successful.
     60INFO: Testing layer waypoints.
     61INFO: Feature count verified.
     62INFO: Feature/layer spatial ref. consistency verified.
     63INFO: Spatial filter inclusion seems to work.
     64INFO: Spatial filter exclusion seems to work.
     65INFO: Testing layer routes.
     66INFO: Feature count verified.
     67INFO: Feature/layer spatial ref. consistency verified.
     68INFO: Spatial filter inclusion seems to work.
     69INFO: Spatial filter exclusion seems to work.
     70INFO: Testing layer tracks.
     71INFO: Feature count verified.
     72INFO: Feature/layer spatial ref. consistency verified.
     73INFO: Spatial filter inclusion seems to work.
     74INFO: Spatial filter exclusion seems to work.
     75}}}