[packages/fontconfig] disable test which requires network access
atler
atler at pld-linux.org
Thu Apr 7 20:26:11 CEST 2022
commit e129e349738e8182df59b056b85f28749c2f1223
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Apr 7 20:25:35 2022 +0200
disable test which requires network access
disable-tests.patch | 13 +++++++++++++
fontconfig.spec | 2 ++
2 files changed, 15 insertions(+)
---
diff --git a/fontconfig.spec b/fontconfig.spec
index fe08b1d..3387179 100644
--- a/fontconfig.spec
+++ b/fontconfig.spec
@@ -17,6 +17,7 @@ Source0: https://www.freedesktop.org/software/fontconfig/release/%{name}-%{versi
# Source0-md5: e12700a9d522bdfec06b6b7e72646987
Source1: %{name}-lcd-filter.conf
Patch0: %{name}-bitstream-cyberbit.patch
+Patch1: disable-tests.patch
URL: http://fontconfig.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake >= 1:1.11
@@ -136,6 +137,7 @@ Este pacote contém a biblioteca estática do fontconfig
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
# bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces...
sed -i -e 's#BWRAP=.*#BWRAP=#g' test/run-test.sh
diff --git a/disable-tests.patch b/disable-tests.patch
new file mode 100644
index 0000000..aadf36a
--- /dev/null
+++ b/disable-tests.patch
@@ -0,0 +1,13 @@
+--- fontconfig-2.14.0/test/Makefile.am.orig 2022-01-28 10:34:44.000000000 +0100
++++ fontconfig-2.14.0/test/Makefile.am 2022-04-07 20:24:29.827809835 +0200
+@@ -69,8 +69,8 @@
+ # to meaningfully test anything, and we are not installed yet.
+ #TESTS += test-pthread
+
+-check_PROGRAMS += test-crbug1004254
+-test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la
++#check_PROGRAMS += test-crbug1004254
++#test_crbug1004254_LDADD = $(top_builddir)/src/libfontconfig.la
+ # Disabling this for the same reason as above but trying to run in run-test.sh.
+ #TESTS += test-crbug1004254
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fontconfig.git/commitdiff/e129e349738e8182df59b056b85f28749c2f1223
More information about the pld-cvs-commit
mailing list