tests/check/Makefile.am: Don't test libvisual elements in the states check, because libvisual seems to leak internally.

Original commit message from CVS:
* tests/check/Makefile.am:
Don't test libvisual elements in the states check, because libvisual
seems to leak internally.
Re-enable the alsa and states tests now that there's new suppressions
in gst.supp.
* tests/check/elements/alsa.c: (GST_START_TEST):
Don't leak the alsamixer we instantiated.
This commit is contained in:
Jan Schmidt 2007-03-08 17:49:46 +00:00
parent ea0d6ebf36
commit 9c26f99cce
4 changed files with 17 additions and 4 deletions

View file

@ -1,3 +1,15 @@
2007-03-08 Jan Schmidt <thaytan@mad.scientist.com>
* tests/check/Makefile.am:
Don't test libvisual elements in the states check, because libvisual
seems to leak internally.
Re-enable the alsa and states tests now that there's new suppressions
in gst.supp.
* tests/check/elements/alsa.c: (GST_START_TEST):
Don't leak the alsamixer we instantiated.
2007-03-08 Jan Schmidt <thaytan@mad.scientist.com>
* sys/ximage/ximagesink.c: (gst_ximagesink_xcontext_clear),

2
common

@ -1 +1 @@
Subproject commit 7c5a0ab68de1fed4e5a1fd473160debc2c4c7b89
Subproject commit ea828a478fe11561881a6eaf1f7bf2b0b77c8c85

View file

@ -21,7 +21,7 @@ $(CHECK_REGISTRY):
$(TESTS_ENVIRONMENT)
# elements to ignore for the state tests
STATE_IGNORE_ELEMENTS = cdio cdparanoiasrc
STATE_IGNORE_ELEMENTS = cdio cdparanoiasrc libvisual_
TESTS = $(check_PROGRAMS)
@ -92,10 +92,8 @@ check_PROGRAMS = \
# ffmpegcolorspace takes too long, so disabled for now
VALGRIND_TO_FIX = \
elements/alsa \
elements/audioresample \
elements/ffmpegcolorspace \
generic/states \
libs/video
# these tests don't even pass
@ -153,6 +151,7 @@ libs_pbutils_LDADD = \
elements_alsa_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \
$(AM_CFLAGS)
elements_alsa_LDADD = \
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
$(LDADD)

View file

@ -110,6 +110,8 @@ GST_START_TEST (test_alsa_mixer_track)
fail_unless_equals_int (gst_element_set_state (mixer, GST_STATE_NULL),
GST_STATE_CHANGE_SUCCESS);
gst_object_unref (mixer);
}
GST_END_TEST;