tests: Add autogenerated orc tests

This commit is contained in:
Sebastian Dröge 2010-06-12 14:12:04 +02:00
parent b7cdf2f89c
commit 20b589c793

View file

@ -31,7 +31,7 @@ TESTS_ENVIRONMENT = \
# the core dumps of some machines have PIDs appended # the core dumps of some machines have PIDs appended
CLEANFILES = core.* test-registry.* CLEANFILES = core.* test-registry.*
clean-local: clean-local-check clean-local: clean-local-check clean-local-orc
if USE_ANNODEX if USE_ANNODEX
check_annodex = \ check_annodex = \
@ -89,6 +89,13 @@ else
check_wavpack = check_wavpack =
endif endif
if HAVE_ORC
check_orc = orc/deinterlace orc/videomixer orc/videobox
else
check_orc =
endif
check_PROGRAMS = \ check_PROGRAMS = \
generic/states \ generic/states \
$(check_annodex) \ $(check_annodex) \
@ -141,7 +148,8 @@ check_PROGRAMS = \
$(check_soup) \ $(check_soup) \
$(check_sunaudio) \ $(check_sunaudio) \
$(check_taglib) \ $(check_taglib) \
$(check_wavpack) $(check_wavpack) \
$(check_orc)
VALGRIND_TO_FIX = \ VALGRIND_TO_FIX = \
elements/rtp-payloading elements/rtp-payloading
@ -230,4 +238,23 @@ elements_gdkpixbufsink_LDADD = \
pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS) pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS)
pipelines_wavpack_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) pipelines_wavpack_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
orc_deinterlace_CFLAGS = $(ORC_CFLAGS)
orc_deinterlace_LDADD = $(ORC_LIBS) -lorc-test-0.4
orc_videomixer_CFLAGS = $(ORC_CFLAGS)
orc_videomixer_LDADD = $(ORC_LIBS) -lorc-test-0.4
orc_videobox_CFLAGS = $(ORC_CFLAGS)
orc_videobox_LDADD = $(ORC_LIBS) -lorc-test-0.4
orc/deinterlace.c: $(top_srcdir)/gst/deinterlace/tvtime.orc
$(MKDIR_P) orc/
$(ORCC) --test -o $@ $<
orc/videomixer.c: $(top_srcdir)/gst/videomixer/blendorc.orc
$(MKDIR_P) orc/
$(ORCC) --test -o $@ $<
orc/videobox.c: $(top_srcdir)/gst/videobox/gstvideoboxorc.orc
$(MKDIR_P) orc/
$(ORCC) --test -o $@ $<
EXTRA_DIST = gst-plugins-good.supp EXTRA_DIST = gst-plugins-good.supp