clean up tests
authorDavid Schleef <ds@schleef.org>
Mon, 13 Oct 2003 21:06:07 +0000 (21:06 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 13 Oct 2003 21:06:07 +0000 (21:06 +0000)
Original commit message from CVS:
clean up tests

testsuite/autoplug/Makefile.am
testsuite/autoplug/autoplug3.c

index 511d625..a0b79c6 100644 (file)
@@ -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)
+
index 2925eef..a332053 100644 (file)
@@ -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);