Move tests to top-level tests/ directory.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 16 Mar 2010 08:49:16 +0000 (08:49 +0000)
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 16 Mar 2010 08:49:16 +0000 (08:49 +0000)
configure.ac
tests/Makefile.am
tests/examples/Makefile.am [deleted file]
tests/examples/generic/Makefile.am [deleted file]
tests/test-display.c [moved from tests/examples/generic/test-display.c with 100% similarity]
tests/test-surfaces.c [moved from tests/examples/generic/test-surfaces.c with 100% similarity]
tests/test-windows.c [moved from tests/examples/generic/test-windows.c with 100% similarity]

index 7ada779..35f39f9 100644 (file)
@@ -152,6 +152,4 @@ AC_OUTPUT([
     sys/vaapiconvert/Makefile
     sys/vaapisink/Makefile
     tests/Makefile
-    tests/examples/Makefile
-    tests/examples/generic/Makefile
 ])
index cbf577e..cc7cdcf 100644 (file)
@@ -1,4 +1,29 @@
-SUBDIRS = examples
+noinst_PROGRAMS =      \
+       test-display    \
+       test-surfaces   \
+       test-windows    \
+       $(NULL)
+
+TEST_CFLAGS = \
+       $(GST_CFLAGS) \
+       -I$(top_srcdir)/gst-libs \
+       $(X11_CFLAGS)
+
+TEST_LIBS = \
+       $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la \
+       $(X11_LIBS)
+
+test_display_SOURCES   = test-display.c
+test_display_CFLAGS    = $(TEST_CFLAGS)
+test_display_LDADD     = $(TEST_LIBS)
+
+test_surfaces_SOURCES  = test-surfaces.c
+test_surfaces_CFLAGS   = $(TEST_CFLAGS)
+test_surfaces_LDADD    = $(TEST_LIBS)
+
+test_windows_SOURCES   = test-windows.c
+test_windows_CFLAGS    = $(TEST_CFLAGS)
+test_windows_LDADD     = $(TEST_LIBS)
 
 # Extra clean files so that maintainer-clean removes *everything*
 MAINTAINERCLEANFILES = Makefile.in
diff --git a/tests/examples/Makefile.am b/tests/examples/Makefile.am
deleted file mode 100644 (file)
index f09ad59..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-SUBDIRS = generic
-
-# Extra clean files so that maintainer-clean removes *everything*
-MAINTAINERCLEANFILES = Makefile.in
diff --git a/tests/examples/generic/Makefile.am b/tests/examples/generic/Makefile.am
deleted file mode 100644 (file)
index cc7cdcf..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-noinst_PROGRAMS =      \
-       test-display    \
-       test-surfaces   \
-       test-windows    \
-       $(NULL)
-
-TEST_CFLAGS = \
-       $(GST_CFLAGS) \
-       -I$(top_srcdir)/gst-libs \
-       $(X11_CFLAGS)
-
-TEST_LIBS = \
-       $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-@GST_MAJORMINOR@.la \
-       $(X11_LIBS)
-
-test_display_SOURCES   = test-display.c
-test_display_CFLAGS    = $(TEST_CFLAGS)
-test_display_LDADD     = $(TEST_LIBS)
-
-test_surfaces_SOURCES  = test-surfaces.c
-test_surfaces_CFLAGS   = $(TEST_CFLAGS)
-test_surfaces_LDADD    = $(TEST_LIBS)
-
-test_windows_SOURCES   = test-windows.c
-test_windows_CFLAGS    = $(TEST_CFLAGS)
-test_windows_LDADD     = $(TEST_LIBS)
-
-# Extra clean files so that maintainer-clean removes *everything*
-MAINTAINERCLEANFILES = Makefile.in