diff --git a/ChangeLog b/ChangeLog index c8ed0e16bd..f1a45c1155 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-07-02 Thomas Vander Stichele + + * tests/check/Makefile.am: + gst-inspect every element; this makes sure that we also get + coverage on element's get/set functions + * tests/check/gst/gststructure.c: (GST_START_TEST), + (gst_structure_suite): + Push coverage from 59.04% to 70.00% + 2006-07-02 Thomas Vander Stichele * configure.ac: diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 3b979ecf9b..2b9974b630 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -171,8 +171,14 @@ debug: .PHONY: coverage if GST_GCOV_ENABLED +# we rebuild a registry and do gst-inspect so that all the get/set codepaths +# are also covered +GST_INSPECT = $(top_builddir)/tools/gst-inspect-$(GST_MAJORMINOR) coverage: for file in `find $(top_builddir) -name '*.gcda'`; do rm $$file; done + -rm $(CHECK_REGISTRY) + echo "Inspecting all elements" + for e in `$(GST_INSPECT) | head -n -2 | cut -d: -f2`; do $(GST_INSPECT) $$e > /dev/null 2>&1; done make check make coverage-report else