diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.am | 10 | ||||
-rw-r--r-- | tests/check/.gitignore | 1 | ||||
-rw-r--r-- | tests/check/Makefile.am | 39 | ||||
-rw-r--r-- | tests/check/generic/.gitignore | 2 |
4 files changed, 52 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am new file mode 100644 index 0000000..d458f18 --- /dev/null +++ b/tests/Makefile.am @@ -0,0 +1,10 @@ +if HAVE_CHECK +SUBDIRS_CHECK = check +else +SUBDIRS_CHECK = +endif + +SUBDIRS = $(SUBDIRS_CHECK) + +DIST_SUBDIRS = check + diff --git a/tests/check/.gitignore b/tests/check/.gitignore new file mode 100644 index 0000000..5d45c6c --- /dev/null +++ b/tests/check/.gitignore @@ -0,0 +1 @@ +test-registry.xml diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am new file mode 100644 index 0000000..9ec19de --- /dev/null +++ b/tests/check/Makefile.am @@ -0,0 +1,39 @@ +include $(top_srcdir)/common/check.mak + +CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml + +REGISTRY_ENVIRONMENT = \ + GST_REGISTRY=$(CHECK_REGISTRY) + +TESTS_ENVIRONMENT = \ + $(REGISTRY_ENVIRONMENT) \ + GST_PLUGIN_SYSTEM_PATH= \ + GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) + +# ths core dumps of some machines have PIDs appended +CLEANFILES = core.* test-registry.xml + +clean-local: clean-local-check + +check_PROGRAMS = +####check_PROGRAMS = \ +#### generic/libavcodec-locking + +VALGRIND_TO_FIX = +####VALGRIND_TO_FIX = \ +#### generic/libavcodec-locking + +TESTS = $(check_PROGRAMS) + +# these tests don't even pass +noinst_PROGRAMS = + +AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS) +LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS) + +# valgrind testing +VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX) + +SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-ffmpeg.supp + +EXTRA_DIST = gst-ffmpeg.supp diff --git a/tests/check/generic/.gitignore b/tests/check/generic/.gitignore new file mode 100644 index 0000000..36c1981 --- /dev/null +++ b/tests/check/generic/.gitignore @@ -0,0 +1,2 @@ +.dirstamp +libavcodec-locking |