[GRASS-dev] Tests down to 78% (from 84%), mostly PyGRASS

Markus Neteler neteler at osgeo.org
Mon Jan 5 08:12:51 PST 2015


On Mon, Jan 5, 2015 at 4:48 PM, Markus Neteler <neteler at osgeo.org> wrote:
> Hi,
>
> this test failure
> http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-03-08-00/report_for_nc_spm_08_grass7_nc/lib/gis/gis_lib_env_test/index.html
>
> I have hopefully fixed in r63954, needed after libgis cleanup in r63830.

Additional fix in r63955.

It now fails only here:

GRASS 7.1.svn (nc_spm_08_grass7):~/software/grass71 > python
./lib/gis/testsuite/gis_lib_env_test.py
E..
======================================================================
ERROR: test_gisrc (__main__.GisLibraryTestEnv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./lib/gis/testsuite/gis_lib_env_test.py", line 31, in test_gisrc
    libgis.G__read_gisrc_env()
AttributeError: 'module' object has no attribute 'G__read_gisrc_env'

Maybe the test is not written correctly (here: line 26)?

    25        # Force reading
    26        libgis.G__read_gisrc_env()
    27        value = libgis.G_getenv("TEST")
    28        self.assertEqual(value, "A")
    29        value = libgis.G_getenv2("TEST", libgis.G_VAR_GISRC)
    30        self.assertEqual(value, "A")

Any idea?

Markus


More information about the grass-dev mailing list