[gdal-dev] How to run autotest
Andrew C Aitchison
andrew at aitchison.me.uk
Tue Apr 9 12:01:23 PDT 2019
On Tue, 9 Apr 2019, Fengting Chen wrote:
> gdalinfo and gdal_translate are working fine. just pytest failed with the
> same error.
>
> Here is my configure:
>
> ./configure --prefix=${PREFIX} \
> --without-libtool \
> --disable-rpath \
> --with-libz=internal \
> --with-png=internal \
> --with-libtiff=internal \
> --with-geotiff=internal \
> --with-jpeg=internal \
> --with-gif=internal \
> --without-pg \
> --without-sqlite3 \
> --without-expat \
> --without-odbc \
> --with-curl=/usr/bin/curl-config \
> --without-perl \
> --without-pcre \
> --with-hdfs=no \
> --with-python=/scratch/SDK/Python-2.7.5/dist/bin/python \
> --with-proj=/scratch/SDK/proj-6.0.0/dist
>
> After that:
>
> make clean
> make -j8 -s
> cd apps; make -s test_ogrsf; cd ..
>
> -Fengting
If you are running ogr tests, you might wish to try
ogrinfo
first.
If you didn't install the gdal you wish to test,
I think you need to run the script
scripts/setdevenv.sh
so that the test gdal is used.
--
Andrew C. Aitchison Cambridge, UK
andrew at aitchison.me.uk
More information about the gdal-dev
mailing list