From: Tim-Philipp Müller Date: Tue, 16 Feb 2016 10:55:01 +0000 (+0000) Subject: tests: add test data for mpg123 plugin X-Git-Tag: 1.10.4~99 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fadda9dba65a9de0fab0adc541d528f93384059c;p=platform%2Fupstream%2Fgst-plugins-ugly.git tests: add test data for mpg123 plugin --- diff --git a/configure.ac b/configure.ac index d30c73a4..a2f09b68 100644 --- a/configure.ac +++ b/configure.ac @@ -470,6 +470,7 @@ docs/plugins/Makefile docs/version.entities tests/Makefile tests/check/Makefile +tests/files/Makefile m4/Makefile po/Makefile.in pkgconfig/Makefile diff --git a/tests/Makefile.am b/tests/Makefile.am index dfe3b5a1..d2b11abb 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -4,6 +4,6 @@ else SUBDIRS_CHECK = endif -SUBDIRS = $(SUBDIRS_CHECK) +SUBDIRS = $(SUBDIRS_CHECK) files -DIST_SUBDIRS = check +DIST_SUBDIRS = check files diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index 552558bd..98d12320 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -1,6 +1,7 @@ include $(top_srcdir)/common/check.mak CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg +TEST_FILES_DIRECTORY = $(top_srcdir)/tests/files REGISTRY_ENVIRONMENT = \ GST_REGISTRY_1_0=$(CHECK_REGISTRY) @@ -65,6 +66,7 @@ noinst_HEADERS = elements/xingmux_testdata.h AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) \ -DGST_CHECK_TEST_ENVIRONMENT_BEACON="\"GST_PLUGIN_LOADING_WHITELIST\"" \ + -DGST_TEST_FILES_PATH="\"$(TEST_FILES_DIRECTORY)\"" \ -UG_DISABLE_ASSERT -UG_DISABLE_CAST_CHECKS LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore index c2c4108e..801da465 100644 --- a/tests/check/elements/.gitignore +++ b/tests/check/elements/.gitignore @@ -1,5 +1,6 @@ amrnbenc mpeg2dec +mpg123audiodec x264enc xingmux .dirstamp diff --git a/tests/files/Makefile.am b/tests/files/Makefile.am new file mode 100644 index 00000000..2807612c --- /dev/null +++ b/tests/files/Makefile.am @@ -0,0 +1,7 @@ +EXTRA_DIST = \ + barcode.png \ + blue-square.png \ + cbr_stream.mp3 \ + s16be-id3v2.aiff \ + stream.mp2 \ + vbr_stream.mp3 diff --git a/tests/files/cbr_stream.mp3 b/tests/files/cbr_stream.mp3 new file mode 100644 index 00000000..b1a5c439 Binary files /dev/null and b/tests/files/cbr_stream.mp3 differ diff --git a/tests/files/vbr_stream.mp3 b/tests/files/vbr_stream.mp3 new file mode 100644 index 00000000..81fc38b5 Binary files /dev/null and b/tests/files/vbr_stream.mp3 differ