<div dir="ltr">I tested g.mlist with the attached script. I started from test_g_list.py and replaced g.list with g.mlist -p and g.list -f with g.mlist -f. g.mlist passed the test, which means g.list == g.mlist -p & g.list -f == g.mlist -f.<div>
<br></div><div>g.mlist does everything g.list does and provides more functionalities, so do we want to retire the old g.list and replace it with g.mlist?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, May 30, 2014 at 9:35 PM, Vaclav Petras <span dir="ltr"><<a href="mailto:wenzeslaus@gmail.com" target="_blank">wenzeslaus@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hi,<br><br>I don't think that there will be any issue but to introduce the idea how testing can be used, I added a test of the most essential functionality of g.list. Once g.list is replaced by g.mlist, the test can be used to ensure that old g.list functionality works as expected. (In fact I used g.mlist output as a reference in test, so it is already tested.)<br>
<br></div><div>This is more a proof of concept but it serves its purpose at the same time. Feel free to comment or try to add your tests. You don't have to bother with things like a location etc. Just expect that you are in a (empty) user1 mapset of nc_smp location and run the tests there (not in your precious production location). In the future, these things will be hopefully managed by the testing framework. You can even write in bash if you have ideas what or how to test (it will be converted to Python later).<br>
<br></div><div>Vaclav<br></div><div><br><a href="http://trac.osgeo.org/grass/browser/grass/trunk/general/g.list/test_g_list.py?rev=60619" target="_blank">http://trac.osgeo.org/grass/browser/grass/trunk/general/g.list/test_g_list.py?rev=60619</a><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 29, 2014 at 5:08 AM, Luca Delucchi <span dir="ltr"><<a href="mailto:lucadeluge@gmail.com" target="_blank">lucadeluge@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div>On 28 May 2014 15:21, Martin Landa <<a href="mailto:landa.martin@gmail.com" target="_blank">landa.martin@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
<br>
</div>Hi<br>
<div><br>
> 2014-05-28 15:07 GMT+02:00 Huidae Cho <<a href="mailto:grass4u@gmail.com" target="_blank">grass4u@gmail.com</a>>:<br>
>> Looks great! Personally I don't see a reason to have two versions of<br>
>> list/remove. Time to replace the old g.list,remove with the g.m* version?<br>
><br>
> personally I agree, if we decide to do that, it should be done ASAP<br>
> (testing in trunk, backport to relbr70).<br>
><br>
<br>
</div>me too<br>
<br>
> Martin<br>
><br>
<span><font color="#888888"><br>
<br>
--<br>
ciao<br>
Luca<br>
<br>
<a href="http://gis.cri.fmach.it/delucchi/" target="_blank">http://gis.cri.fmach.it/delucchi/</a><br>
<a href="http://www.lucadelu.org" target="_blank">www.lucadelu.org</a><br>
</font></span></div></div><div class=""><div><div>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</div></div></div></blockquote></div><br></div>
</blockquote></div><br></div>