Move tests to top-level tests/ directory.

This commit is contained in:
gb 2010-03-16 08:49:16 +00:00
parent 69d58a0857
commit 148d104c1a
7 changed files with 26 additions and 36 deletions

View file

@ -152,6 +152,4 @@ AC_OUTPUT([
sys/vaapiconvert/Makefile sys/vaapiconvert/Makefile
sys/vaapisink/Makefile sys/vaapisink/Makefile
tests/Makefile tests/Makefile
tests/examples/Makefile
tests/examples/generic/Makefile
]) ])

View 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* # Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in MAINTAINERCLEANFILES = Makefile.in

View file

@ -1,4 +0,0 @@
SUBDIRS = generic
# Extra clean files so that maintainer-clean removes *everything*
MAINTAINERCLEANFILES = Makefile.in

View file

@ -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