[OSM-dev] Osmium: may I help with development?
jochen at remote.org
Wed Jul 24 12:15:18 UTC 2013
thanks for your work. I have just accepted your pull request. One tiny issue:
When running the tests under valgrind I don't see the output of valgrind any
more, so can't check it. Hm, maybe if valgrind isn't happy the Makefile sees
it as a test failure and outputs everything? I haven't check that.
How is the code coverage stuff supposed to be understood? I see lots of
warnings from system include files etc. Not sure how to interpret all that.
Maybe you can check the "clean" targets of the Makefiles in the main and test
directory. They now both do some cleanup of test stuff, but not properly.
There is one line in test/Makefile that seems to make no sense:
PROBLEMS = t/geometry t/tags
Maybe a leftover from some tests.
Thanks again for your help. This is much appreciated.
On Tue, Jul 23, 2013 at 12:12:48PM +0200, Johannes Kolb wrote:
> Date: Tue, 23 Jul 2013 12:12:48 +0200
> From: Johannes Kolb <johannes.kolb.lists at gmail.com>
> To: dev at openstreetmap.org
> Subject: [OSM-dev] Osmium: may I help with development?
> Hi Osmium developers,
> since I got my first GPS unit I am interested in the Openstreetmap project
> and have contributed "casually" (according to hdyc) under the handle
> "Jokoala". Since I'm also interested in software development, I would like
> to help with that too, so I started to work with the Osmium library. Now I
> have finished my first patch and would be glad to hear comments on them.
> Please be a bit patient with me, since I'm not so familiar with your
> development proceses. Just tell me, where you want me to improve the
> Since you write in the README file that more tests are appreciated I wrote
> some unit tests mostly for the osmfile.hpp header file. I've sent a pull
> request with all my changes.
> It contains the following:
> * unit tests for the object class
> * unit tests for filename detection
> * unit tests for basic file IO
> * a Makefile for building all tests at once (whole test suite runs faster)
> * a method to generate coverage reports
> programming this I noticed and corrected the following bugs:
> * object.hpp: m_visible can only be set to false
> * osmfile.hpp: if child process exits with error, ernno doesn't contain a
> valid value
> * osmfile.hpp: filename_without_suffix() didn't work as intended
> Looking forward to hear from you.
> Best regards,
> dev mailing list
> dev at openstreetmap.org
Jochen Topf jochen at remote.org http://www.jochentopf.com/ +49-721-388298
More information about the dev