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:
Kacper Michajłow 2024-05-03 06:35:33 +02:00
parent cd12e923f8
commit 006c3ce9fe
1 changed files with 1 additions and 1 deletions

View File

@ -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])