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.
This commit is contained in:
He Junyan 2020-03-09 01:52:57 +08:00
parent 5e612aeb84
commit 5eb8716598

View file

@ -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',