Hi to all

In some build system where I work, as @rpm5.org popt, I am running the
test suite  using MALLOC_CHECK_ =3  always. A configure time I can
also choose to run the test suite with valgrind .

In this way i can execute  sometime valgrind and the check due to MALLOC_CHECK_
simultaneously. I have never had any problems in doing this.

But the maintainer git asked me about this recently because he have
some dubt about
and so I would give a qualified answer. Anyway i am also interessed
for my projects.

Quoting it

"If you are using valgrind to run tests, is it sane to also enable
MALLOC_CHECK?  If you were testing "cat", would it make sense to do:

        $ MALLOC_CHECK_=3 valgrind cat README

Because we are not interested in testing how valgrind (not cat)
uses malloc, we may be better off running

        $ valgrind cat README

without MALLOC_CHECK_; it will reduce the risk of MALLOC_CHECK_
potentially disturbing what we really want to check (i.e. cat) by
triggering for something whose problems we are not trying to see
(i.e. valgrind), no?"

http://www.spinics.net/lists/git/msg188833.html


I dod not find anything about this subject searching on the web.



Thank you very much in advance

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to