From: Sandro Santilli Date: Tue, 4 Oct 2011 23:13:28 +0000 (+0000) Subject: don't try to call postgis_gdal_version() if not testing raster (the signature is... X-Git-Tag: 2.0.0alpha1~908 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a25f0982696fc3373fff641483a1e776597ba4af;p=postgis don't try to call postgis_gdal_version() if not testing raster (the signature is unavailable) git-svn-id: http://svn.osgeo.org/postgis/trunk@7946 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/run_test b/regress/run_test index f7a081158..b1fe0f4bc 100755 --- a/regress/run_test +++ b/regress/run_test @@ -525,7 +525,9 @@ fi geosver=`${PSQL} -tAc "select postgis_geos_version()" "${DB}"` projver=`${PSQL} -tAc "select postgis_proj_version()" "${DB}"` -gdalver=`${PSQL} -tAc "select postgis_gdal_version()" "${DB}"` +if test x"$OPT_WITH_RASTER" = "xyes"; then + gdalver=`${PSQL} -tAc "select postgis_gdal_version()" "${DB}"` +fi libbuilddate=`${PSQL} -tAc "select postgis_lib_build_date()" "${DB}"` pgsqlver=`${PSQL} -tAc "select version()" "${DB}"`