CODE_COVERAGE_TEST

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

CODE_COVERAGE_TEST

sandip mishra
Dear All,
 
Can someone help me to provide the steps to do code coverage test for gstreamer plugins.
We have audio decoders and we are using gstreamer as framework, so can some one help me
 
Regards
 
Sandip

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: CODE_COVERAGE_TEST

Stefan Sauer
On 08/19/11 13:29, sandip mishra wrote:
Dear All,
 
Can someone help me to provide the steps to do code coverage test for gstreamer plugins.
We have audio decoders and we are using gstreamer as framework, so can some one help me

this is not gstreamer specific. we use gcov+lcov, have a look at the Makefile.am under tests/check

Stefan
 
Regards
 
Sandip
_______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: CODE_COVERAGE_TEST

shiva_mudugal
In reply to this post by sandip mishra
Dear Stefan,

We have done code coverage test for gstreamer plugings using gcov+lcov, but we are getting 0 coverage for core libraries. But all chain function are in core libraries and its very obvious that they are executing.

Can you help me more on that.

Regards,
Shiva Kumar
Reply | Threaded
Open this post in threaded view
|

Re: CODE_COVERAGE_TEST

Stefan Sauer
On 01/10/2012 07:18 AM, shiva_mudugal wrote:
> Dear Stefan,
>
> We have done code coverage test for gstreamer plugings using gcov+lcov, but
> we are getting 0 coverage for core libraries. But all chain function are in
> core libraries and its very obvious that they are executing.

Did you configured the packages using "--enable-gcov"?

Stefan

> Can you help me more on that.
>
> Regards,
> Shiva Kumar
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/CODE-COVERAGE-TEST-tp3754935p4281248.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: CODE_COVERAGE_TEST

shiva_mudugal
Which package you are talking about, for your clarification we are doing code coverage test for our own gstreamer plugins not for open source plugins. We copied core libraries and derived libraries in gstreamer shared location(/usr/lib/gstreamer-0.10) while running and exported LD_LIBRARY_PATH to /usr/lib/gstreamer-0.10/.

Regards,
Shiva Kumar  
Reply | Threaded
Open this post in threaded view
|

Re: CODE_COVERAGE_TEST

Stefan Sauer
On 01/12/2012 04:56 AM, shiva_mudugal wrote:
> Which package you are talking about, for your clarification we are doing code
> coverage test for our own gstreamer plugins not for open source plugins. We
> copied core libraries and derived libraries in gstreamer shared
> location(/usr/lib/gstreamer-0.10) while running and exported LD_LIBRARY_PATH
> to /usr/lib/gstreamer-0.10/.
Well first get the code coverage working in e.g. gstreamer (core) module
and then copy all the needed infrastructure parts from the relevant
Makefile.am (under tests).

Stefan

> Regards,
> Shiva Kumar  
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/CODE-COVERAGE-TEST-tp3754935p4287803.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel