<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 14, 2014 at 7:08 AM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":1kl" class="" style="overflow:hidden">> In [5]: sub.Popen(cmd_shell, shell=True)<br>
<br>
Passing a string instead of a list is rarely a good idea. Apart from<br>
anything else, you have to construct the string differently depending<br>
upon whether you're using Unix or Windows (/bin/sh and cmd.exe have<br>
significant differences in their command syntax).</div></blockquote></div><br></div><div class="gmail_extra">Note that after r61587 a lot of tests failed, in fact the failure was so serious that testing framework ended with error when dividing by zero (which was number of executed tests), this should be fixed now, so you can see the errors online. See also the the documentation how to invoke tests for the whole source code, it is:<br>

<br>python -m grass.gunittest.main --location nc_spm_grass7 --location-type nc<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">If this does not work for you, let me know, or better, create a ticket.<br>

</div><div class="gmail_extra"><br><a href="http://trac.osgeo.org/grass/changeset/61587">http://trac.osgeo.org/grass/changeset/61587</a><br><br><a href="http://fatra.cnr.ncsu.edu/grassgistests/summary_report/nc/index.html">http://fatra.cnr.ncsu.edu/grassgistests/summary_report/nc/index.html</a><br>

<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/testfiles.html">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/testfiles.html</a><br>

<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/lib/python/temporal/test_register_function/index.html">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/lib/python/temporal/test_register_function/index.html</a><br>

<a href="http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/raster/r.mapcalc/test_r_mapcalc/index.html">http://fatra.cnr.ncsu.edu/grassgistests/reports_for_date-2014-08-14-15-34/report_for_nc_spm_08_grass7_nc/raster/r.mapcalc/test_r_mapcalc/index.html</a><br>

<br><a href="http://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#testing-with-gunittest-package-in-general">http://grass.osgeo.org/grass71/manuals/libpython/gunittest_testing.html#testing-with-gunittest-package-in-general</a><br>

</div></div>