Opened 22 years ago

Closed 22 years ago

Last modified 21 years ago

#6 closed defect (released)

Get testsuite to use valgrind

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

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 (3)

comment:1 by Olly Betts, 22 years ago

Status: newassigned

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

comment:2 by Olly Betts, 22 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:3 by Olly Betts, 21 years ago

Operating System: Linux
Resolution: fixedreleased
Note: See TracTickets for help on using tickets.