summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2006-04-07 15:41:00 +0000
committerEdward Hervey <bilboed@bilboed.com>2006-04-07 15:41:00 +0000
commit51352b1a2eed8308c4444492089bcb810ee30384 (patch)
treeed41a11395fd4a8136dd633446d84f3ff2bb39e7 /testsuite
parent182840a50d18dd58d9a4669571feb114ee1e9e4f (diff)
Makefile.am: make check-valgrind calls make valgrind in the testsuite directory.
Original commit message from CVS: * 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.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/Makefile.am1
-rw-r--r--testsuite/python.supp44
2 files changed, 45 insertions, 0 deletions
diff --git a/testsuite/Makefile.am b/testsuite/Makefile.am
index 9f87414..7e47a14 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 81554e1..3930dc1 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