Original commit message from CVS:
* 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 <thomas at apestaart dot org>
+ * 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 <thomas at apestaart dot org>
+
* configure.ac:
set CFLAGS and friends to -O0 if gcov is being used
add GCOV LIBS
.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