summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2020-06-30 11:15:43 -0700
committerU. Artie Eoff <ullysses.a.eoff@intel.com>2021-09-15 10:04:14 -0700
commit48474d3cf77f91702cc2219ea17ceed881c372ae (patch)
treeec8d5cb27edf02bc74eadcfb82af8e70a4256696 /tests
parent162026961bff14dbf8198fb556b83a2f655f4c4b (diff)
downloadgstreamer-plugins-bad-48474d3cf77f91702cc2219ea17ceed881c372ae.tar.gz
tests: skip cc tests if plugin is disabled
Skip the closedcaption element tests if the closedcaption option is disabled at compile time (i.e. -Dclosedcaption=disabled). v2: rename pangocairo_dep to avoid conflict with later definition in ext/ttml/meson.build as suggested by @tpm. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1388>
Diffstat (limited to 'tests')
-rw-r--r--tests/check/meson.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build
index 195761b55..b13755aa2 100644
--- a/tests/check/meson.build
+++ b/tests/check/meson.build
@@ -29,9 +29,9 @@ base_tests = [
[['elements/autovideoconvert.c']],
[['elements/avwait.c']],
[['elements/camerabin.c']],
- [['elements/ccconverter.c'], not pangocairo_dep.found(), [gstvideo_dep]],
- [['elements/cccombiner.c'], not pangocairo_dep.found(), ],
- [['elements/ccextractor.c'], not pangocairo_dep.found(), ],
+ [['elements/ccconverter.c'], not closedcaption_dep.found(), [gstvideo_dep]],
+ [['elements/cccombiner.c'], not closedcaption_dep.found(), ],
+ [['elements/ccextractor.c'], not closedcaption_dep.found(), ],
[['elements/cudaconvert.c'], false, [gmodule_dep, gstgl_dep]],
[['elements/cudafilter.c'], false, [gmodule_dep, gstgl_dep]],
[['elements/d3d11colorconvert.c'], host_machine.system() != 'windows', ],
@@ -44,7 +44,7 @@ base_tests = [
[['elements/id3mux.c']],
[['elements/interlace.c']],
[['elements/jpeg2000parse.c'], false, [libparser_dep, gstcodecparsers_dep]],
- [['elements/line21.c'], not pangocairo_dep.found(), ],
+ [['elements/line21.c'], not closedcaption_dep.found(), ],
[['elements/mfvideosrc.c'], host_machine.system() != 'windows', ],
[['elements/mpegtsdemux.c'], false, [gstmpegts_dep]],
[['elements/mpegtsmux.c'], false, [gstmpegts_dep]],