[gst-devel] html unit test covergae reports in gst-0.9
Stefan Kost
ensonic at hora-obscura.de
Thu Jun 9 08:50:29 CEST 2005
Hi Thomas,
which gcc version are you using? Anyone else having this problem?
Does you gcc version has these options '-fprofile-arcs -ftest-coverage' ?
(It should have as this is checked by ds's configure checks.)
Stefan
> Hi Stefan,
>
>
>>just comnitted a little change to generate html unit test covergae
>>reports to gstreamer head. below some notes og how to use it.
>
>
> excellent, I'd love to get this working.
>
>
>>#1 installl lcov (http://ltp.sourceforge.net/coverage/lcov.php)
>>#2 configure with --enable-gcov
>>#3 make test-coverage-report.html
>>#4 load ./covergae/index.html into you favourite browser
>>#5 write more tests ;)
>
>
> I have two problems:
> - when running "make", I get the same error as I got before with ds's
> coverage stuff:
> Making all in tools
> make[2]: Entering directory `/home/thomas/gst/head/gstreamer/tools'
> /bin/sh ../libtool --mode=link --tag=CC gcc -I/usr/include/glib-2.0 -
> I/usr/lib/glib-2.0/include -g -O2 -o gst-
> register-0.9 ../gst/libgstreamer-0.9.la gst_register_0.9-gst-register.o
> -lglib-2.0 -lpopt
> gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -
> o .libs/gst-register-0.9 gst_register_0.9-gst-
> register.o ../gst/.libs/libgstreamer-0.9.so -lxml2 -lpthread -lz -lm -
> lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lpopt -Wl,--
> rpath -Wl,/usr/local/lib
> gst_register_0.9-gst-register.o(.text+0x6c0): In function `global
> constructors keyed to main_GCOV':
> /home/thomas/gst/head/gstreamer/tools/gst-register.c:172: undefined
> reference to `__gcov_init'
> gst_register_0.9-gst-register.o(.data+0x44): undefined reference to
> `__gcov_merge_add'
> collect2: ld returned 1 exit status
>
> - there is no testsuite/decode-gcov commited.
>
> Let me know what I can do to test this further.
>
> Thomas
>
> Dave/Dina : future TV today ! - http://www.davedina.org/
> <-*- thomas (dot) apestaart (dot) org -*->
> Mag je buiten
> Kom je spelen
> Jij mag winnen
> Daar kan ik tegen
> <-*- thomas (at) apestaart (dot) org -*->
> URGent, best radio on the net - 24/7 ! - http://urgent.fm/
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
> a projector? How fast can you ride your desk chair down the office luge track?
> If you want to score the big prize, get to know the little guy.
> Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list