[GRASS-dev] Failing tests overview for September 2015

Vaclav Petras wenzeslaus at gmail.com
Sun Nov 15 14:22:27 PST 2015


On Sun, Nov 15, 2015 at 8:10 AM, Markus Neteler <neteler at osgeo.org> wrote:

>
> #######
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.in.gdal/test_r_in_gdal/index.html
>
> ERROR: Projection of dataset does not appear to match current location.
> Location PROJ_INFO is:
> name: Universal Transverse Mercator
> proj: utm
> ...
> Dataset PROJ_INFO is:
> name: Lambert Conformal Conic
> proj: lcc
>
> ... how should this be handled? The Piemont data are in UTM, so the
> data in raster/r.in.gdal/testsuite/data/ do not fit since written for
> NC.
>
> #######
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.profile/test_profile_ncspm/index.html
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.viewshed/test_r_viewshed/index.html
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/scripts/r.import/test_r_import/index.html
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.watershed/r_watershed_test/index.html
>
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-11-15-08-00/report_for_piemonte_utm32_wgs84_grass7_stdmaps/raster/r.slope.aspect/test_r_slope_aspect/index.html
>
> --> also here the tests are NC specific.
>
> Maybe they should be skipped in the Piemont test case?


These will probably need to be disabled for NC. I had the support there but
then I drop it at one point to implement something more useful at that time
(I would have to look to commits what was the reason). The basic idea is
that the tests will state (probably in variable or in a comment) which
Location or kind of Location they want and then they won't be executed (the
command line API say which tests you want to run is there: --location-type
nc). What is Location and kind of Location is not completely clear but we
need to figure that out on the way. The biggest work is probably in the
aggregation scripts. I plan to look at it but so far I was just postponing
it, now it seems there is not much reason to postpone it more.

Doc with some ideas about how the problem should be approached:
https://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#data

Vaclav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20151115/37f893fc/attachment.html>


More information about the grass-dev mailing list