Hello,
I have just created a default console application with the following code:
In all these cases, I had a correct coverage report.
Can you try to disable your antivirus (if any) and reinstall OpenCppCoverage x64? In C:\Program Files\OpenCppCoverage you should have one folder and 21 files (8 455 540 octets).
Can you also check you can run and debug your program?
Can you try on another computer if the problem still exist?
I hope this will help,
OpenCppCoverage
I have just created a default console application with the following code:
int main()
{
if (true)
return 0;
else
return 0;
}
When I run OpenCppCoverage 0.9.6.1 (x64) with the following command, I have a new folder in the current folder starting with "CoverageReport-"OpenCppCoverage --source Console --export_type=html -- Debug\ConsoleApplication1.exe
I have tried with Visual Studio 2017 version 15.2 26430.6 and version 15.2 26430.12 on x64 and x86 for debug and release build (you should use --optimized_build for release build).In all these cases, I had a correct coverage report.
Can you try to disable your antivirus (if any) and reinstall OpenCppCoverage x64? In C:\Program Files\OpenCppCoverage you should have one folder and 21 files (8 455 540 octets).
Can you also check you can run and debug your program?
Can you try on another computer if the problem still exist?
I hope this will help,
OpenCppCoverage





