[postgis-tickets] [PostGIS] #3297: check_gdal regress fails if gdal_enabled_drivers already has drivers

PostGIS trac at osgeo.org
Sat Sep 26 08:34:35 PDT 2015


#3297: check_gdal regress fails if gdal_enabled_drivers already has drivers
---------------------+---------------------------
  Reporter:  robe    |      Owner:  robe
      Type:  defect  |     Status:  new
  Priority:  medium  |  Milestone:  PostGIS 2.2.0
 Component:  raster  |    Version:  trunk
Resolution:          |   Keywords:
---------------------+---------------------------
Description changed by robe:

Old description:

> I thought I complained about this already, but can't find the ticket.
>
> Anyway on my windows box where I've got GDAL_DRIVERS set, check_gdal
> always fails.
>

> {{{
>  check_gdal .. failed (diff expected obtained:
> /projects/postgis/tmp/2.2_pg9.4w64/test_1_diff)
> }}}
>

> On closer inspection, it seems the first test runs without setting
> drivers, and assumes the user is at the default state of -- no drivers
> and it also checks end state to assuming again user is running without
> drivers.  This of course is not true when I launch my instances with
> something like
>

> {{{
> @SET GDAL_DRIVERS=something
> }}}
>
> or have in postgresql conf to have this set.

New description:

 I thought I complained about this already, but can't find the ticket.

 Anyway on my windows box where I've got GDAL_DRIVERS set, check_gdal
 always fails.


 {{{
  check_gdal .. failed (diff expected obtained:
 /projects/postgis/tmp/2.2_pg9.4w64/test_1_diff)
 }}}


 On closer inspection, it seems the first test runs without setting
 drivers, and assumes the user is at the default state of -- no drivers and
 it also checks end state to assuming again user is running without
 drivers.  This of course is not true when I launch my instances with
 something like


 {{{
 @SET GDAL_DRIVERS=something
 }}}

 or have in postgresql conf to have this set.

 This might only be an issue in PostGIS 2.2 since we started using raster
 GUCS in this, and this is testing the raster gucs.

--

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3297#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list