DynamoRIO / DynamoRIO/drmemory

Dr. Memory Does Not Work with Microsoft's MSTest.exe

Open
#1,087 2 comments 0 reactions 0 assignees View on GitHub
Migrated Priority-Medium
Dominant language
C
Stars
2.7k
Forks
290
PR merge metrics
No merged PRs in 30d

Description

_From [choiwah....@gmail.com](https://code.google.com/u/116281998802494967927/) on November 20, 2012 11:14:47_

What steps will reproduce the problem? 1. Run drmemory.exe -- MSTest
2. The test project can simply be an "empty" C++ MS test project created in Visual Studio 2010 in a 32-bit Windows XP machine - in my test case, there is only one empty unit test (a unit test skeleton function generated by Visual Studio 2010) in the test project. 3. What is the expected output? What do you see instead? I expect to see usual test execution message like:
Microsoft (R) Test Execution Command Line Tool Version 10.0.30319.1
Copyright (c) Microsoft Corporation. All rights reserved.

Loading ..\testProject.vsmdi...
Starting execution...

Results Top Level Tests
------- ---------------
Passed (TestList101/)testingtest.UnitTest1.TestMethod1
1/1 test(s) Passed

Summary
-------
Test Run Completed.
Passed 1

---

Total 1
Results file: C:\dev\Projects\testProject\Debug\TestResults\chowc_DT-CHOWC01 2012-11-20 11_10_50.trx What version of the product are you using? On what operating system? Dr. Memory 1.5.0 and 1.5.1112, on Windows XP, Service Pack 2.

Does the problem go away when running in light mode (pass "-light" to Dr.
Memory)? What about when running with the options "-leaks_only
-no_count_leaks -no_track_allocs"?
No, not with -light mode, but gone with -leaks_only -no_count_leaks -no_track_allocs. Please provide any additional information below.

_Original issue: http://code.google.com/p/drmemory/issues/detail?id=1087_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.