summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@hotmail.com>2020-03-09 01:52:57 +0800
committerHe Junyan <junyan.he@hotmail.com>2020-03-09 16:34:16 +0800
commit5eb87165987e4bbf566db7b9fd309aa00535b52a (patch)
tree066dca33abba065808aa660ba5809f72e5d51153 /tests
parent5e612aeb849b678b046e8249657f2fb70b055572 (diff)
test: fix a ninja test failure for vaapioverlay.
That test case only works with drm display, so the build such as meson -Dwith_x11=yes -Dwith_wayland=no -Dwith_drm=no -Dwith_egl=no -Dwith_glx=no gets a failure when run ninja test. Just enable this test when drm is enabled.
Diffstat (limited to 'tests')
-rw-r--r--tests/check/meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build
index 8e631d57..cedd8628 100644
--- a/tests/check/meson.build
+++ b/tests/check/meson.build
@@ -1,8 +1,13 @@
tests = [
[ 'elements/vaapipostproc' ],
- [ 'elements/vaapioverlay' ],
]
+if USE_DRM
+ tests += [
+ [ 'elements/vaapioverlay' ]
+]
+endif
+
test_deps = [gst_dep, gstbase_dep, gstvideo_dep, gstcheck_dep]
test_defines = [
'-UG_DISABLE_ASSERT',