diff --git a/ChangeLog b/ChangeLog index cb7ae77f24..76d7f4a1e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-04-07 Edward Hervey + + * Makefile.am: + make check-valgrind calls make valgrind in the testsuite directory. + * testsuite/Makefile.am: + prepend $(top_srcdir) to PYTHONPATH for all tests so it uses the built + library and not the installed one. + * testsuite/python.supp: + Added suppressions discovered on x86/gentoo. + 2006-04-07 Andy Wingo * gst/gstelement.override (_wrap_gst_element_link): Allow errors diff --git a/Makefile.am b/Makefile.am index e1017ac8df..1565e8cea3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,7 @@ uninstall-local: @rm $(DESTDIR)/$(pyexecdir)/pygst.pth > /dev/null 2>&1 || true check-valgrind: - @true + cd testsuite/ && make check-valgrind check-torture: @true diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am index 9f874145e2..7e47a14d54 100644 --- a/testsuite/Makefile.am +++ b/testsuite/Makefile.am @@ -53,6 +53,7 @@ endif GSTSUPP = $(top_srcdir)/common/gst.supp PYTHONSUPP = $(top_srcdir)/testsuite/python.supp GSTPYTHONSUPP = $(top_srcdir)/testsuite/gstpython.supp +TESTS_ENVIRONMENT = PYTHONPATH=$(top_srcdir)/:$(PYTHONPATH) # gdb any given test_x.py by running make test_x.py.gdb %.gdb: % diff --git a/testsuite/python.supp b/testsuite/python.supp index 81554e1f13..3930dc12fd 100644 --- a/testsuite/python.supp +++ b/testsuite/python.supp @@ -441,3 +441,47 @@ fun:* fun:update_keyword_args } + +# memleaks/conds in import_submodule +{ + memleak in import_submodule + Memcheck:Cond + fun:strcpy + fun:find_module +} + +{ + wrong jump in import_submodule + Memcheck:Cond + fun:find_module + fun:import_submodule +} + +{ + wrong jump in import_submodule + Memcheck:Cond + fun:find_module + fun:load_package + fun:load_module + fun:import_submodule +} + +{ + Use of uninitialised value of size 4 + Memcheck:Value4 + fun:strcpy + fun:find_module +} + +## KNOWN MEMORY LEAK in gst_element_state_get_name +## See gstreamer/gst/gstutils.c +{ + Known leak in gst_element_state_get_name + Memcheck:Leak + fun:* + fun:* + fun:* + fun:* + fun:g_strdup_printf + fun:gst_element_state_get_name +} \ No newline at end of file