[GRASS-dev] Tests down to 23%/24% since Jan 17
Vaclav Petras
wenzeslaus at gmail.com
Sat Jan 24 07:48:39 PST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150124/73926292/attachment.html>
More information about the grass-dev
mailing list