gdal/cmake/template/pytest.ini.in

32 строки
1.1 KiB
INI

; @PYTEST_INI_HEADER_MESSAGE@
[pytest]
python_files = *.py
testpaths = ogr gcore gdrivers osr alg gnm utilities pyscripts
norecursedirs = ogr/data gdrivers/data cpp
log_file = @AUTOTEST_LOG_FILE@
log_file_level = INFO
env =
@TEST_ENV@
PROJ_NETWORK=OFF
# Deprecated raster drivers
GDAL_ENABLE_DEPRECATED_DRIVER_DODS=YES
GDAL_ENABLE_DEPRECATED_DRIVER_JDEM=YES
GDAL_ENABLE_DEPRECATED_DRIVER_ZMAP=YES
# Deprecated vector drivers
GDAL_ENABLE_DEPRECATED_DRIVER_OGR_DODS=YES
GDAL_ENABLE_DEPRECATED_DRIVER_TIGER=YES
gdal_version = @GDAL_VERSION_NO_DEV_SUFFIX@
markers =
require_curl: Skip test(s) if curl support is absent
require_creation_option: Skip test(s) if required creation option is not available
require_driver: Skip test(s) if driver isn't present
require_geos: Skip test(s) if required GEOS version is not available
require_proj: Skip test(s) if required PROJ version is not available
require_run_on_demand: Skip test(s) if RUN_ON_DEMAND environment variable is not set
slow: Skip test(s) if GDAL_RUN_SLOW_TESTS environment variable is not set
# Make sure that all markers are declared above
addopts = --strict-markers