wiki:AutotestStatus

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, 221 drivers are listed.

  • 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
ACE2x
ADRGx
AIGx
AirSAR-
ARGx
BAGx
BPG -
BLXx
BMPx
BSBx
BTx
CEOSx
COASP -
COSAR -
CPGx only fake dataset tested
CTGx
DIMAP -
DIPExx only fake dataset tested
DODSx
DOQ1x only fake dataset tested
DOQ2x
DTEDx
E00GRIDx
ECRGTOCx
ECWx
EHdrx
EIRx only fake dataset tested
ELASx
ENVIx
EPSILONx tested by rasterlite.py
ERS x
ESATW
FASTx
FITx
FITSx
FujiBASx only fake dataset tested
GENBINx
GeoRasterx
GFFW
GIFx
GRASSx
GRASSASCIIGridx
GRIBx
GSAGx
GSBGx
GSCx only fake dataset tested
GS7BGx
GTAx
GTiffx
GTXx
GXFx
HDF4x
HDF5W
HF2x
HFAx
HTTP - Is it a driver and should it get a test?
IDAx
ILWISx
INGR x
IRIS -
ISIS2x
ISIS3x
JAXAPALSAR -
JDEMx only fake dataset tested
JP2ECWx
JP2KAKx
JP2MrSIDx
JP2OpenJPEGx
JPEG x
JPEGLSx
JPEG2000x
JPIPKAKx
KEAx
KMLSUPEROVERLAYx
KROx
L1B W
LANx only fake dataset tested
LCPx
Levellerx
LOSLASW
MBTiles x
MEM x
MFF x only fake dataset tested and created by CreateCopy?()
MFF2 x only dataset tested is created by CreateCopy?()
MG4LidarW
MrSID x
MSG -
MSGN -
NDFx
NGSGEOIDx
NITFx W
NetCDFx
NTv2W
NWT_GRCx
NWT_GRDx
OGDI -
OZIW
PAuxx
PCIDSKx
PCRasterx
PDFW
PDSx
PGCHIPx
PLMOSAICx
PNGx
PNMx
PostgisRaster?x
Rx
RASDAMANx
Rasterlitex
RIKW
RMF -
ROI_PACx
RPFTOCx
RS2x only fake dataset tested
RSTx
SAGAx
SAR_CEOSW
SDTSx
SGIx
SNODASx
SRPx (USRP only)
SRTMHGTx
TERRAGEN -
TERRALIB -
TILx only fake dataset tested
TSX -
USGSDEMx
VICARx
VRTx
WCSx
WEBPx
WMSx
XPMW
XYZx
ZMapx

Vector Formats

DriverStatusNotes
AeronavFAA -
ARCGENx
ArcObjects? -
AVCBinx
AVCE00x
BNAx
CartoDBx
Cloudantx
CouchDBx
CSVx
CSWx
DGNx
DODSx
DWG - (in spike)
DWG - (in GDAL 1.9 trunk)
DXF - (in spike)
DXFx (in GDAL 1.7 trunk)
ElasticSearch?x
EDIGEOW
FileGDBx
FMEObjects -
Geoconceptx
GeoJSONxCurrently, only for file-based datasources
Geomedia -
GeoRSSx
GFTx
GMLx
GMTx
GPKGx
GPSBabelx
GPXx
GRASSx
GTMx
HTFx
IDB -
Idrisix
Interlis 1x
Interlis 2x
JMLx
LIBKMLx
KMLx
MapInfo?x
MDBx
Memoryx
MySQLx
MSSQLSpatial -
NASW
NTFW
OCIx
ODBCx
ODSx
OGDIW
OpenAir?x
OpenFileGDBx
OSMx
PCIDSKx
PDFx
PDSx
PGx
PGDumpx
PGeoW
PLScenesx
REC -
S57x
SDE -
SDTSx
SEGUKOOAx
SEGYx
Selafinx
Shapefilex
SOSI -
SQLitex
SUAx
SVGx
SXFx
TIGERx
VFKx
VRTx
WFSx
XLSx
XLSXx
XPlanex
WALK -
WASPx

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 (find . -name *.gcda -exec rm -f {} \;) 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.

Last modified 3 years ago Last modified on Apr 30, 2015 7:51:00 AM

Attachments (15)

Download all attachments as: .zip