tests/check: add automatic unit test suite for the ipcpipeline elements

All tests run within a common framework for splitting processes
and making them interract properly with the gst check system.
This commit is contained in:
George Kiagiadakis 2017-07-05 16:53:48 +03:00
parent 3089d142b0
commit 35a01f41ce
5 changed files with 5994 additions and 0 deletions

1
.gitignore vendored
View file

@ -53,6 +53,7 @@ gst*orc.h
/tests/check/elements/videoframe-audiolevel
/tests/check/elements/pnm
/tests/check/pipelines/simple-launch-lines
/tests/check/pipelines/ipcpipeline
/tests/examples/audiomixmatrix/test-audiomixmatrix
/tests/examples/codecparsers/parse-jpeg
/tests/examples/codecparsers/parse-vp8

View file

@ -272,6 +272,7 @@ check_PROGRAMS = \
elements/rtponviftimestamp \
elements/id3mux \
pipelines/mxf \
pipelines/ipcpipeline \
libs/mpegvideoparser \
libs/mpegts \
libs/h264parser \
@ -476,6 +477,9 @@ elements_mssdemux_SOURCES = elements/test_http_src.c elements/test_http_src.h el
pipelines_streamheader_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
pipelines_streamheader_LDADD = $(GIO_LIBS) $(LDADD)
pipelines_ipcpipeline_CFLAGS = $(GST_VALIDATE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(GIO_CFLAGS) $(AM_CFLAGS)
pipelines_ipcpipeline_LDADD = $(GST_VALIDATE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(GIO_LIBS) $(LDADD)
libs_insertbin_LDADD = \
$(top_builddir)/gst-libs/gst/insertbin/libgstinsertbin-@GST_API_VERSION@.la \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) $(GST_LIBS) $(LDADD)

File diff suppressed because it is too large Load diff

BIN
tests/files/sine.wav Normal file

Binary file not shown.

BIN
tests/files/test.ts Normal file

Binary file not shown.