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

        

Reply via email to