1 |
commit: f46e0eb259c2c0b073c94e210cc174bb45725393 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 15 19:54:57 2021 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 15 19:56:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46e0eb2 |
7 |
|
8 |
net-libs/libsoup:3.0: improve tests situation |
9 |
|
10 |
Despite disabling pkcs11 tests, it will still fail when pkcs11 is present, |
11 |
as the toggle doesn't seem to disable everything. |
12 |
Add some notes about remaining test failure possibilities. |
13 |
|
14 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
15 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
16 |
|
17 |
net-libs/libsoup/libsoup-2.99.9.ebuild | 7 +++---- |
18 |
1 file changed, 3 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/net-libs/libsoup/libsoup-2.99.9.ebuild b/net-libs/libsoup/libsoup-2.99.9.ebuild |
21 |
index be126cebc63..9c73bf6e987 100644 |
22 |
--- a/net-libs/libsoup/libsoup-2.99.9.ebuild |
23 |
+++ b/net-libs/libsoup/libsoup-2.99.9.ebuild |
24 |
@@ -42,6 +42,7 @@ BDEPEND=" |
25 |
>=sys-devel/gettext-0.19.8 |
26 |
virtual/pkgconfig |
27 |
vala? ( $(vala_depend) ) |
28 |
+ test? ( net-libs/gnutls[pkcs11] ) |
29 |
" |
30 |
# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, |
31 |
# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, |
32 |
@@ -82,13 +83,11 @@ multilib_src_configure() { |
33 |
$(meson_native_use_feature introspection) |
34 |
$(meson_native_use_feature vala vapi) |
35 |
$(meson_native_use_bool gtk-doc gtk_doc) |
36 |
+ # TODO: Tests fail with network-sandbox or 32bit (upstream issue #236) for 2.99.9 |
37 |
$(meson_use test tests) |
38 |
-Dinstalled_tests=false |
39 |
$(meson_feature sysprof) |
40 |
- # Avoid gnutls[pkcs11] test dep for now, consider adding them back or fixing |
41 |
- # upstream to skip them when pkcs11 API isn't there (in 2.99.9 it automatically |
42 |
- # skips these only if gnutls overall is missing) |
43 |
- -Dpkcs11_tests=disabled |
44 |
+ $(meson_feature test pkcs11_tests) |
45 |
) |
46 |
meson_src_configure |
47 |
} |