[vlc-commits] [Git][videolan/vlc][master] test: disable meta test when inapplicable
Rémi Denis-Courmont (@Courmisch)
gitlab at videolan.org
Tue Sep 28 18:16:15 UTC 2021
Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC
Commits:
edb68947 by Rémi Denis-Courmont at 2021-09-28T17:51:57+00:00
test: disable meta test when inapplicable
This can only work if the Taglib plugin is available.
Fixes #26100.
- - - - -
2 changed files:
- configure.ac
- test/Makefile.am
Changes:
=====================================
configure.ac
=====================================
@@ -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
=====================================
test/Makefile.am
=====================================
@@ -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 \
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/edb689474fd31ea8aa07e2497e99a7245aafa3b0
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/edb689474fd31ea8aa07e2497e99a7245aafa3b0
You're receiving this email because of your account on code.videolan.org.
More information about the vlc-commits
mailing list