You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <qp...@incubator.apache.org> on 2006/12/05 15:51:27 UTC

[jira] Resolved: (QPID-138) Automate memory error checks on unit tests, fix existing problems.

     [ http://issues.apache.org/jira/browse/QPID-138?page=all ]

Alan Conway resolved QPID-138.
------------------------------

    Resolution: Duplicate

> Automate memory error checks on unit tests, fix existing problems.
> ------------------------------------------------------------------
>
>                 Key: QPID-138
>                 URL: http://issues.apache.org/jira/browse/QPID-138
>             Project: Qpid
>          Issue Type: Test
>          Components: C++ Broker, C++ Client
>         Environment: Linux
>            Reporter: Alan Conway
>
> Run unit tests with valgrind from Makefile, if valgrind is available on the host system. Build should fail if valgrind detects errors.
> Currently it does show several leaks all originating in CppUnit code. Needs analysis
>  - they may still be qpid bugs if qpid is abusing CppUnit APIs in a way that leaks memory allocated by cppunit. If so fix. 
>  - if these are genuine CppUnit bugs, create a valgrind suppression file to ignore them and use it when running valgrind from make.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira