wiki:AutotestStatus

Version 81 (modified by Even Rouault, 14 years ago) ( diff )

OGR GTM is now tested; Mention OGR PCIDSK

Autotest Status

Below is the list of GDAL and OGR formats with information if particular driver is covered with autotest or not. The x indicator means a driver is equipped with corresponding test and the empty cell means there is no test, probably we do not have test data that can be freely used and published with GDAL.

Note, this is a preliminary analysis of the autotest state. It does not include any details about a set of features covered by each test.

Below, 146 drivers are listed but the list might be INCOMPLETE.

  • x : A least somewhat tested
  • W (for Web) : Some optionnal tests rely on downloading datasets. This requires the environment variable GDAL_DOWNLOAD_TEST_DATA to be set to YES. Once downloaded, these datasets are cached in autotest/gdrivers/tmp/cache.
  • - : No apparent testing
  • n : Priority for adding tests (1 being highest priority)

Raster Formats

DriverStatusNotes
AAIGridx
ADRGx
AIGx
AirSAR-
BAGx
BLXx
BMPx
BSBx
BTx
CEOSx
COASP -
COSAR -
CPGx only fake dataset tested
DIMAP -
DIPExx only fake dataset tested
DODSx
DOQ1x only fake dataset tested
DOQ2x
DTEDx
ECWx
EHdrx
EIRx only fake dataset tested
ELASx
ENVIx
EPSILON -
ERS x
ESAT -
FASTx
FITx
FITSx
FujiBASx only fake dataset tested
GENBINx
GeoRasterx
GFFW
GIFx
GRASSx
GRIBx
GSAGx
GSBGx
GSCx only fake dataset tested
GS7BGx
GTiffx
GXFx
HDF4x
HDF5W
HFAx
HTTP - Is it a driver and should it get a test?
IDAx
ILWISx
INGR x
ISIS2x
ISIS3x
JAXAPALSAR -
JDEMx only fake dataset tested
JP2ECWx
JP2KAKx
JP2MrSIDx
JPEG x
JPEG2000x
L1B W
LANx only fake dataset tested
LCPx
Levellerx
MEM x
MFF x only fake dataset tested and created by CreateCopy()
MFF2 x only dataset tested is created by CreateCopy()
MrSID x
MSG -
MSGN -
NDFx
NITFx W
NetCDFx
NWT_GRC -
NWT_GRD -
OGDI -
PAuxx
PCIDSKx
PCRasterx
PDSx
PGCHIPx
PNGx
PNMx
Rx
Rasterlitex
RIKW
RMF -
RPFTOCx
RS2x only fake dataset tested
RSTx
SAGAx
SAR_CEOSW
SDTSx
SGIx
SRP - ASRP/USRP
SRTMHGTx
TERRAGEN -
TERRALIB -
TIL -
TSX -
USGSDEMx
VRTx
WCSx
WKTRasterx
WMSx
XPMW

Vector Formats

DriverStatusNotes
AVCBinx
AVCE00x
BNAx
CSVx
DGNx
DODSx
DWG - (in spike)
DXF - (in spike)
DXFx (in GDAL 1.7 trunk)
FMEObjects -
Geoconceptx
GeoJSONxCurrently, only for file-based datasources
GeoRSSx
GMLx
GMTx
GPXx
GRASSx
GTMx
IDB -
Interlis 1 2
Interlis 2 -
KML 2
MapInfox
Memoryx
MySQLx
NTFW
OCIx
ODBC -
OGDI -
PCIDSK -
PGx
PGeo -
REC -
S57x
SDE -
SDTSx
Shapefilex
SQLitex
TIGER -
VRTx
XPlanex

If there are any formats missing, feel free to add them to the table.

Many of the read-only distribute data formats will be hard to prepare autotests for since it is hard to get small test datasets. At some point we need to add an extended test suite that operates against the bigger datasets kept at http://download.osgeo.org/gdal/data.

Test coverage

You can find the coverage of the Autotest suite.

You can apply the following procedure (for a Unix build) to build GDAL with coverage support :

  • checkout GDAL SVN repository
  • apply attached patch at the root at the GDAL tree : patch -p0 < coverage.patch
  • configure GDAL : ./configure --without-libtool
  • build GDAL : make
  • run any command using GDAL : LD_LIBRARY_PATH=$PWD apps/gdalinfo test.tif
  • generate a .info file from the collected data : lcov --directory . --capture --output-file gdal.info
  • remove unrelevant info with the following attached program (filter_info.c : gcc filter_info.c -o filter_info) : ./filter_info < gdal.info > gdal_filtered.info
  • generate the HTML report in the coverage_html directory : genhtml -o ./coverage_html --num-spaces 2 gdal_filtered.info

If you want to generate a new coverage report, remove all .gcda files first (rm -f find . -name *.gcda) and redo the last 4 previous steps.

Note : the coverage.patch is hackish and makes GDAL makefile lose some dependency rules. So if you modify a source file, make sure to remove libgdal.so before running make.

Attachments (18)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.