[Box Backup-commit] COMMIT r1164 - box/chris/merge/infrastructure

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Mon Nov 13 16:16:54 GMT 2006


Author: chris
Date: 2006-11-13 16:16:54 +0000 (Mon, 13 Nov 2006)
New Revision: 1164

Modified:
   box/chris/merge/infrastructure/buildenv-testmain-template.cpp
Log:
Initialise memory leak finder in all unit tests (refs #3)


Modified: box/chris/merge/infrastructure/buildenv-testmain-template.cpp
===================================================================
--- box/chris/merge/infrastructure/buildenv-testmain-template.cpp	2006-11-13 16:14:08 UTC (rev 1163)
+++ box/chris/merge/infrastructure/buildenv-testmain-template.cpp	2006-11-13 16:16:54 UTC (rev 1164)
@@ -114,6 +114,10 @@
 	}
 	try
 	{
+		#ifdef BOX_MEMORY_LEAK_TESTING
+		memleakfinder_init();
+		#endif
+
 		int returncode = test(argc, argv);
 		
 		// check for memory leaks, if enabled




More information about the Boxbackup-commit mailing list