Questions tagged [gcovr]

114 questions
0
votes
1 answer

How to use Gcovr Installed with pip on windows

So I followed this guide and managed to install Gcovr using pip (I already have Python installed along with Anaconda). I tried to use gcovr but this is what I got: When I use pip list, Gcovr is already installed. How do I use it? I'm running…
AceVez
  • 291
  • 1
  • 5
  • 19
0
votes
0 answers

How to get coverage result in HTML with gcovr, if we have only .gcov file but no .gcdo or .gcno files

When we get coverage result from Keil, we don't get any .gcdo .gcno files, but after using COVERAGE gcov *, we get .gcov files for each module. There is option -g to use preprocessed .gcov file in gcovr, but I am unable to get any output. Any help…
yogesh singh
  • 103
  • 1
  • 10
0
votes
1 answer

How to merge .gcda files generated by gcovr?

Let me explain the problem first before asking for a solution. We have Appium automation tests for our iOS app. We believe that every test should start from a clean slate (i.e. app installation) instead of relying a previous test to bring the…
Paddy
  • 3,472
  • 5
  • 29
  • 48
0
votes
1 answer

Find and move files with extension at build time using CMake

I'm currently trying to use Gcov and Gcovr from CMake on Windows using MinGW. Compiling the files with the right flags works like a charm. However, CLion uses an out-of-source build which Gcov does not understand. On Linux I used the following to…
Arno Moonen
  • 1,134
  • 2
  • 10
  • 28
0
votes
1 answer

how to validate the .c file has correspnding gcno or gcda files

I have a query . Is there any way I can validate that the .c file has a corresponding .gcno and .gcda file generated. For example : I have a sample.c file.Now I generate the .gcno and .gcda files. Again modify the sample.c file but I did not…
scot ggh
  • 5
  • 2
0
votes
0 answers

Gcov/Code coverage for Operating System

I have a custom operating system(i.e. call it "CustomOS") which is based off off Fendora. It is identical to Fendora except it has a custom kernel and some special tools installed on it. The custom OS image is compiled/built on a fendora machine…
user1146952
  • 31
  • 1
  • 2
0
votes
1 answer

installing gcovr on ubuntu using pip

I am trying to intall gcovr on ubuntu using pip install gcovr but it gives this error Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_mymachine/gcovr/setup.py';exec(compile(getattr(tokenize, 'open',…
riverrock
  • 141
  • 3
  • 12
0
votes
2 answers

Unit tests using xcodebuild from another machine

I have been going around in circles with this. Basically I have Jenkins on one machine, and a Mac server as a separate iOS build server. I need to be able to run unit tests and then code coverage from Jenkins on the Mac Mini. I have a script which…
benny_bates
  • 65
  • 1
  • 6
0
votes
4 answers

Gcovr errors under Windows

I'm trying to generate a HTML file of results of a C program using Gcovr. I've installed gcov (via MinGW), Python, easy_stall and gcovr. Added the C:\MinGW\bin, C:\Python33 and C:\Python\Scripts to the Windows PATH. Now the problems I'm having (in…
RvdK
  • 19,580
  • 4
  • 64
  • 107
1 2 3 4 5 6 7
8