mirror of https://github.com/mpv-player/mpv
test: mark libmpv as expected fail if OSC is not available
This test is expected to fail without lua and osc.lua support.
This commit is contained in:
parent
cd12e923f8
commit
006c3ce9fe
|
@ -122,7 +122,7 @@ if get_option('libmpv')
|
||||||
exe = executable('libmpv-test', 'libmpv_test.c',
|
exe = executable('libmpv-test', 'libmpv_test.c',
|
||||||
include_directories: incdir, link_with: libmpv)
|
include_directories: incdir, link_with: libmpv)
|
||||||
file = join_paths(source_root, 'etc', 'mpv-icon-8bit-16x16.png')
|
file = join_paths(source_root, 'etc', 'mpv-icon-8bit-16x16.png')
|
||||||
test('libmpv', exe, args: file, timeout: 60)
|
test('libmpv', exe, args: file, timeout: 60, should_fail: not features['lua'])
|
||||||
|
|
||||||
exe = executable('libmpv-encode', 'libmpv_encode.c',
|
exe = executable('libmpv-encode', 'libmpv_encode.c',
|
||||||
include_directories: incdir, link_with: [libmpv, test_utils])
|
include_directories: incdir, link_with: [libmpv, test_utils])
|
||||||
|
|
Loading…
Reference in New Issue