Test Coverage with gcov

Ricardo Maia ricardojamaia at hotmail.com
Wed Aug 20 14:03:37 UTC 2003

Did anyone ever used gcov with RTEMS?

And what about other coverage tools?

>From: "Ricardo Maia" <ricardojamaia at hotmail.com>
>To: rtems-users at rtems.com
>Subject: Test Coverage with gcov
>Date: Mon, 18 Aug 2003 17:33:29 +0000
>I have a test suite and I would like to get coverage metrics no only 
>regarding to my application code but also regarding to the RTEMS code. I am 
>planning to use gcov for this task.
>This means that I also have to compile the rtems with -fprofile-arcs and 
>-ftest-coverage options, and then build my application with the 
>instrumented rtems, right?
>What Makefiles shall I change?
>May I used the same installation directory to have the optimized version of 
>the RTEMS and the instrumented version?
>Where can I get detailed information on how to used gcov with RTEMS?
>The new MSN 8: advanced junk mail protection and 2 months FREE* 

Add photos to your e-mail with MSN 8. Get 2 months FREE*. 

More information about the users mailing list