Commit d973cf0e authored by Guillaume Pasero's avatar Guillaume Pasero

ENH: make sure the selected gdal is tested

parent 6037cd0a
......@@ -4,9 +4,10 @@ tempFolder=@TEMP@
gdalLibLocation=@GDAL_LIBRARY@
sourceDir=@CMAKE_SOURCE_DIR@
apple=@APPLE@
gdalConfig=@GDAL_CONFIG@
gdalTranslate=`dirname ${gdalConfig}`/gdal_translate
#TEST 1 : GDAL version
gdalConfig="$(which gdal-config)"
${gdalConfig} --version > ${tempFolder}/testgdal1.txt
#TEST 2 : dyn. symbols
......@@ -18,7 +19,7 @@ nm -U ${gdalLibLocation} | grep TIFFClose > ${tempFolder}/testgdal2.txt # -U : d
fi
#TEST 3 : Big tiff
gdal_translate -co "BIGTIFF=YES" ${sourceDir}/Modules/ThirdParty/GDAL/logoVectoriel.png ${tempFolder}/logoVectoriel.tif > ${tempFolder}/testgdal3.txt
${gdalTranslate} -co "BIGTIFF=YES" ${sourceDir}/Modules/ThirdParty/GDAL/logoVectoriel.png ${tempFolder}/logoVectoriel.tif > ${tempFolder}/testgdal3.txt
#TEST 4 : GDAL formats
${gdalConfig} --formats > ${tempFolder}/testgdal4.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment