Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module matches no selected pattern (Visual Studio 2017 & gtest) #36

Open
Haqiverse opened this issue Feb 26, 2020 · 2 comments
Open

module matches no selected pattern (Visual Studio 2017 & gtest) #36

Haqiverse opened this issue Feb 26, 2020 · 2 comments

Comments

@Haqiverse
Copy link

I get no code coverage results.

verbose info seems to say that my project (module?) is not used.

But it also builds the tests?!

codecov_log.txt

@OpenCppCoverage
Copy link
Owner

Hi,

You have no coverage because you run C:\VCS\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer\Condenser_Control\Solution\Debug\SVC_LIGHT_Tests.exe whereas the selected module is P:\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer\Condenser_Control\Solution\Debug\SVC_LIGHT_Tests.exe (P: VS C:\VCS)

Does drive P: map to C:\VCS?
If yes, Network path special considerations can help. Rebuilding your application and running the coverage computation should work.
If not, can you explain how you setup P: so that I can investigate?

You can also add C:\VCS\Leonardo\FBG_Steuerung_Kondensor_SF_FF_Observer in selected module and selected source in Filter tab.

I hope it helps,

OpenCppCoverage

@Haqiverse
Copy link
Author

OK, you're right, there is this mapping.

When opening solution von C:\VCS and build it the plugin is working.
That actually is enough for me.

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants