windows - code coverage that can be along along with QT for C++ -


i want use proper tool code coverage compatible qt windows. tried using gcov , lcov faced issues.

what alternate tools can install free apart gcov? in advance

edit:

my lcov.bat contains

 @echo off :: full dirname of current executable set idir=%~dp0 set perl=c:\perl\bin\perl.exe  md "%cd%\gcov" echo creating gcov\lcov.info ... %perl% %idir%lcov.perl -b . -d . -c -o gcov/lcov.info :: echo cleaning ... :: %perl% %idir%lcov.perl --remove gcov/lcov.info "*_unneeded_*" -o gcov/lcov.info  echo fixing slashes ... type "gcov\lcov.info"|%~dp0repl.bat "\\" "/" >"gcov\lcov.info.tmp" move /y "gcov\lcov.info.tmp" "gcov\lcov.info" >nul  echo generating html ... %perl% %idir%genhtml.perl -o gcov/html/ gcov/lcov.info -p "%cd%" 

i running through cmd, giving me error:

.gcda:version '409*', prefer version '501*' finished .info-file creation fixing slashes ... generating html ... reading data file gcov/lcov.info found 89 entries. using user-specified filename prefix "d:\pos\build-tests-desktop_qt_5_5_1_m ingw_32bit-debug\debug" writing .css , .png files. generating output. skipping mingw! skipping mingw! skipping mingw! skipping mingw! syntax of command incorrect. genhtml.perl: error: cannot create directory pos/build-tests-desktop_qt_5_5 _1_mingw_32bit-debug/../desktop! 

i use opencppcoverage msvc-based qt. don't know if works mingw-based qt.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -