[vlc-commits] [Git][videolan/vlc][master] test: disable Lua playlist parser test if Lua is disabled
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Aug 13 11:43:42 UTC 2026
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
6543476b by Steve Lhomme at 2026-08-13T10:43:36+00:00
test: disable Lua playlist parser test if Lua is disabled
- - - - -
2 changed files:
- test/Makefile.am
- test/modules/meson.build
Changes:
=====================================
test/Makefile.am
=====================================
@@ -71,7 +71,6 @@ check_PROGRAMS = \
test_src_video_output_opengl \
test_src_video_output_spu \
test_modules_lua_extension \
- test_modules_lua_playlist_parser \
test_modules_misc_medialibrary \
test_modules_packetizer_helpers \
test_modules_packetizer_hxxx \
@@ -114,6 +113,10 @@ if HAVE_DARWIN
check_PROGRAMS += test_src_misc_image_cvpx
endif
+if BUILD_LUA
+check_PROGRAMS += test_modules_lua_playlist_parser
+endif
+
if UPDATE_CHECK
check_PROGRAMS += test_src_crypto_update
=====================================
test/modules/meson.build
=====================================
@@ -11,7 +11,8 @@ vlc_tests += {
'sources' : files('lua/playlist_parser.c'),
'suite' : ['modules', 'test_modules'],
'link_with' : [libvlc, libvlccore],
- 'module_depends' : ['lua']
+ 'module_depends' : ['lua'],
+ 'enabled' : lua_dep.found() and get_option('lua').enabled(),
}
if not (host_system == 'windows') # missing mkdtemp()
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6543476bb36b5b6adc979c2d2978cf5f867d43c9
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/6543476bb36b5b6adc979c2d2978cf5f867d43c9
You're receiving this email because of your account on code.videolan.org. Manage all notifications: https://code.videolan.org/-/profile/notifications | Help: https://code.videolan.org/help
More information about the vlc-commits
mailing list