mjn
mjn

Reputation: 36664

How can I enable the memory leak tracking with FastMM in DUnit?

In the GUI test runner, the menu items for memory leak checking are inactive (grayed out). Is there a special switch I have not found yet to activate them?

Using DUnit 9.4 (from Delphi 2009 or from the sourceforge Subversion repository) and FastMM4.92

Upvotes: 13

Views: 2170

Answers (1)

The_Fox
The_Fox

Reputation: 7062

You have to build your DUnit GUI-testrunner with the FASTMM and ManualLeakReportingControl directive. This will enable the memoryleak items (Take a look in GUITestRunner.pas).

Upvotes: 20

Related Questions