[GRASS-dev] Tests down to 23%/24% since Jan 17

Hi,

it seems that r64226 broke a PyGRASS module interface parsing, at least this is my guess.

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-17-08-00/report_for_nc_spm_08_grass7_nc/lib/python/pygrass/modules/interface/test_modules/index.html

Unfortunately, gunittest depends on PyGRASS, so now most of the things cannot be tested, e.g.

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-17-08-00/report_for_nc_spm_08_grass7_nc/vector/v.what/test_vwhat_layers/index.html

To test before commit, run all tests, start GRASS and execute:

cd my/grass/source/code/root
python -m grass.gunittest.main --location my_nc_spm_08_grass7_location_for_tests --location-type nc

This write a text summary to output and will create a HTML report from all tests in all testsuite directories inside the directory tree. Please. find the report in testreport/index.html.

To execute just part of the tests when fixing something, cd into some subdirectory, e.g. lib and execute the same command. Again, it will execute all tests in testsuite subdirectories and create a report.

Vaclav

http://trac.osgeo.org/grass/changeset/64226/grass/trunk
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-16-08-00/report_for_nc_spm_08_grass7_nc/testfiles.html
http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-17-08-00/report_for_nc_spm_08_grass7_nc/testfiles.html
http://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#testing-with-gunittest-package-in-general

Hi Vaclav,

On Sat, Jan 24, 2015 at 4:48 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:

it seems that r64226 broke a PyGRASS module interface parsing

Thanks to report this, should be fix in r64295, or at least tests are
now passing on my computer.

All the best

Pietro

On Sat, Jan 24, 2015 at 11:06 AM, Pietro <peter.zamb@gmail.com> wrote:

Hi Vaclav,

On Sat, Jan 24, 2015 at 4:48 PM, Vaclav Petras <wenzeslaus@gmail.com>
wrote:
> it seems that r64226 broke a PyGRASS module interface parsing

Thanks to report this, should be fix in r64295, or at least tests are
now passing on my computer.

Passing on server too.

http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2015-01-26-08-00/report_for_nc_spm_08_grass7_nc/testfiles.html

All the best

Pietro