camerabin2: Only run tests if experimental is enabled

Only run camerabin2 tests and build examples if experimental
plugins are enabled
This commit is contained in:
Thiago Santos 2010-12-06 11:05:17 -03:00
parent db72d691ca
commit f62e658c10
2 changed files with 15 additions and 5 deletions

View file

@ -127,6 +127,12 @@ VALGRIND_TO_FIX = \
VALGRIND_TESTS_DISABLE = \
$(VALGRIND_TO_FIX)
if BUILD_EXPERIMENTAL
EXPERIMENTAL_CHECKS=elements/camerabin2 \
elements/imagecapturebin \
elements/videorecordingbin
endif
# these tests don't even pass
# neon: too flaky (almost always fails 'the first time')
noinst_PROGRAMS = \
@ -148,10 +154,8 @@ check_PROGRAMS = \
elements/autoconvert \
elements/asfmux \
elements/camerabin \
elements/camerabin2 \
elements/dataurisrc \
elements/flacparse \
elements/imagecapturebin \
elements/legacyresample \
$(check_jifmux) \
elements/jpegparse \
@ -166,11 +170,11 @@ check_PROGRAMS = \
elements/rtpmux \
$(check_schro) \
elements/valve \
elements/videorecordingbin \
$(check_vp8) \
$(check_zbar) \
$(check_orc) \
pipelines/tagschecking
pipelines/tagschecking \
$(EXPERIMENTAL_CHECKS)
noinst_HEADERS = elements/mxfdemux.h

View file

@ -15,5 +15,11 @@ else
DIRECTFB_DIR=
endif
if BUILD_EXPERIMENTAL
CAMERABIN2=camerabin2
else
CAMERABIN2=
endif
SUBDIRS= $(DIRECTFB_DIR) $(GTK_EXAMPLES) $(JACK_EXAMPLES) switch
DIST_SUBDIRS= camerabin camerabin2 directfb jack mxf scaletempo switch
DIST_SUBDIRS= camerabin $(CAMERABIN2) directfb jack mxf scaletempo switch