From 0647607440fc427f79b7632b16e3da68df0d2262 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 13 Oct 2003 21:06:07 +0000 Subject: [PATCH] clean up tests Original commit message from CVS: clean up tests --- testsuite/autoplug/Makefile.am | 7 ++++--- testsuite/autoplug/autoplug3.c | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/testsuite/autoplug/Makefile.am b/testsuite/autoplug/Makefile.am index 511d625ba0..a0b79c63e9 100644 --- a/testsuite/autoplug/Makefile.am +++ b/testsuite/autoplug/Makefile.am @@ -1,9 +1,10 @@ -testprogs = autoplug ## autoplug3 ## autoplug4 # autoplug2 -TESTS = $(testprogs) +# none work currently +TESTS = -check_PROGRAMS = $(testprogs) +check_PROGRAMS = autoplug autoplug2 autoplug3 autoplug4 # we have nothing but apps here, we can do this safely LIBS = $(GST_LIBS) AM_CFLAGS = $(GST_CFLAGS) + diff --git a/testsuite/autoplug/autoplug3.c b/testsuite/autoplug/autoplug3.c index 2925eef23d..a332053abc 100644 --- a/testsuite/autoplug/autoplug3.c +++ b/testsuite/autoplug/autoplug3.c @@ -36,7 +36,7 @@ main (int argc, char *argv[]) gst_bin_add (GST_BIN (pipeline), filesrc); gst_bin_add (GST_BIN (pipeline), element); - gst_element_connect (filesrc, "src", element, "sink"); + gst_element_link_pads (filesrc, "src", element, "sink"); g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);