Skip to content
Snippets Groups Projects
Commit edb68947 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

test: disable meta test when inapplicable

This can only work if the Taglib plugin is available.

Fixes #26100.
parent f275e555
No related branches found
No related tags found
1 merge request!680test: disable meta test when inapplicable
Pipeline #143370 passed with stages
in 23 minutes and 12 seconds
......@@ -4305,15 +4305,18 @@ AS_IF([test "${enable_gnutls}" != "no"], [
dnl
dnl Taglib plugin
dnl
have_taglib="no"
AC_ARG_ENABLE([taglib],
AS_HELP_STRING([--disable-taglib],
[do not use TagLib (default enabled)]))
AS_IF([test "${enable_taglib}" != "no"], [
PKG_CHECK_MODULES(TAGLIB, taglib >= 1.11, [
have_taglib="yes"
VLC_ADD_PLUGIN([taglib])
], [
AC_MSG_WARN([${TAGLIB_PKG_ERRORS}.])])
])
AM_CONDITIONAL([HAVE_TAGLIB], [test "${have_taglib}" = "yes"])
dnl
dnl libsecret
......
......@@ -20,7 +20,6 @@ check_PROGRAMS = \
test_libvlc_media_list \
test_libvlc_media_player \
test_libvlc_media_discoverer \
test_libvlc_meta \
test_libvlc_renderer_discoverer \
test_libvlc_slaves \
test_src_config_chain \
......@@ -50,6 +49,9 @@ endif
if UPDATE_CHECK
check_PROGRAMS += test_src_crypto_update
endif
if HAVE_TAGLIB
check_PROGRAMS += test_libvlc_meta
endif
check_SCRIPTS = \
modules/lua/telnet.sh \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment