Ticket #6 (closed defect: released)

Opened 6 years ago

Last modified 5 years ago

Get testsuite to use valgrind

Reported by: olly Owned by: olly
Priority: high Milestone:
Component: Test Suite Version: other
Severity: normal Keywords:
Cc: Blocked By:
Operating System: Linux Blocking:

Description

Allow the testsuite to be run under valgrind if available, and so catch memory leaks, use of uninitialised values, etc. This requires suitable hooks adding to valgrind - Julian Seward seemed to like the idea.

Change History

Changed 6 years ago by olly

  • status changed from new to assigned

Nicholas Nethercote will hopefully add suitable hooks once some pending internal changes to valgrind are completed:

http://sourceforge.net/mailarchive/forum.php?thread_id=1886221&forum_id=32038

Changed 6 years ago by olly

  • status changed from assigned to closed
  • resolution set to fixed

Nicholas Nethercote has added a couple of hooks to the valgrind CVS version (so they should be in valgrind 1.9.6) and I've added the necessary machinery to the Xapian testsuite.

Changed 5 years ago by olly

  • resolution changed from fixed to released

Changed 5 years ago by trac

  • platform set to Linux
Note: See TracTickets for help on using tickets.