[Mobies-commit] [commit] r3754 - UDM/trunk/tests/test_staticleaks
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Wed May 18 10:02:13 CDT 2011
Author: ksmyth
Date: Wed May 18 10:02:13 2011
New Revision: 3754
Log:
Turn off STDERR reporting for end-of-process dump
Modified:
UDM/trunk/tests/test_staticleaks/test_staticleaks.cpp
Modified: UDM/trunk/tests/test_staticleaks/test_staticleaks.cpp
==============================================================================
--- UDM/trunk/tests/test_staticleaks/test_staticleaks.cpp Wed May 18 10:00:48 2011 (r3753)
+++ UDM/trunk/tests/test_staticleaks/test_staticleaks.cpp Wed May 18 10:02:13 2011 (r3754)
@@ -54,6 +54,7 @@
_CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_DEBUG | _CRTDBG_MODE_FILE);
_CrtSetReportFile(_CRT_WARN, _CRTDBG_FILE_STDERR);
_CrtMemDumpAllObjectsSince(&initState);
+ _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_DEBUG);
_CrtMemState diff;
if (_CrtMemDifference(&diff, &initState, &finalState)) {
More information about the Mobies-commit
mailing list