[gst-devel] html unit test covergae reports in gst-0.9

Thomas Vander Stichele thomas at apestaart.org
Sat Jun 4 01:32:05 CEST 2005


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/







More information about the gstreamer-devel mailing list