summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2021-09-15 22:54:57 +0300
committerMart Raudsepp <leio@gentoo.org>2021-09-15 22:56:54 +0300
commitf46e0eb259c2c0b073c94e210cc174bb45725393 (patch)
treece7c91975ec1e1da76844ae65933c029e751863f
parentnet-libs/libsoup:3.0: require newer glib-networking for working https (diff)
downloadgentoo-f46e0eb2.tar.gz
gentoo-f46e0eb2.tar.bz2
gentoo-f46e0eb2.zip
net-libs/libsoup:3.0: improve tests situation
Despite disabling pkcs11 tests, it will still fail when pkcs11 is present, as the toggle doesn't seem to disable everything. Add some notes about remaining test failure possibilities. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
-rw-r--r--net-libs/libsoup/libsoup-2.99.9.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/net-libs/libsoup/libsoup-2.99.9.ebuild b/net-libs/libsoup/libsoup-2.99.9.ebuild
index be126cebc636..9c73bf6e9873 100644
--- a/net-libs/libsoup/libsoup-2.99.9.ebuild
+++ b/net-libs/libsoup/libsoup-2.99.9.ebuild
@@ -42,6 +42,7 @@ BDEPEND="
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
vala? ( $(vala_depend) )
+ test? ( net-libs/gnutls[pkcs11] )
"
# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic,
# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir,
@@ -82,13 +83,11 @@ multilib_src_configure() {
$(meson_native_use_feature introspection)
$(meson_native_use_feature vala vapi)
$(meson_native_use_bool gtk-doc gtk_doc)
+ # TODO: Tests fail with network-sandbox or 32bit (upstream issue #236) for 2.99.9
$(meson_use test tests)
-Dinstalled_tests=false
$(meson_feature sysprof)
- # Avoid gnutls[pkcs11] test dep for now, consider adding them back or fixing
- # upstream to skip them when pkcs11 API isn't there (in 2.99.9 it automatically
- # skips these only if gnutls overall is missing)
- -Dpkcs11_tests=disabled
+ $(meson_feature test pkcs11_tests)
)
meson_src_configure
}