clean up tests

Original commit message from CVS:
clean up tests
This commit is contained in:
David Schleef 2003-10-13 21:06:07 +00:00
parent cec071743c
commit 0647607440
2 changed files with 5 additions and 4 deletions

View 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 # we have nothing but apps here, we can do this safely
LIBS = $(GST_LIBS) LIBS = $(GST_LIBS)
AM_CFLAGS = $(GST_CFLAGS) AM_CFLAGS = $(GST_CFLAGS)

View file

@ -36,7 +36,7 @@ main (int argc, char *argv[])
gst_bin_add (GST_BIN (pipeline), filesrc); gst_bin_add (GST_BIN (pipeline), filesrc);
gst_bin_add (GST_BIN (pipeline), element); 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); g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);