Files
gentoo/dev-libs/libxml2/files/libxml2-2.9.11-disable-fuzz-tests.patch
T
Sam James 6aa57ec7fe dev-libs/libxml2: add 2.9.11
Without tests for now because:
- fuzz test files aren't included in the distfile (bug is upstream)
- Python tests seem to fail now but rest pass

Bug: https://bugs.gentoo.org/790002
Signed-off-by: Sam James <sam@gentoo.org>
2021-05-13 17:50:36 +00:00

34 lines
1014 B
Diff

https://gitlab.gnome.org/GNOME/libxml2/-/issues/252
From 5d6403682a3463f29a1f7c27aa54ecb5e3971547 Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Thu, 13 May 2021 17:40:22 +0000
Subject: [PATCH] Disable fuzz tests
Not all of the fuzz files are included with the dist tarball,
so disabling them for now to get the release in with most tests
given the security bug.
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,9 +2,9 @@
ACLOCAL_AMFLAGS = -I m4
-SUBDIRS = include . doc example fuzz xstc $(PYTHON_SUBDIR)
+SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR)
-DIST_SUBDIRS = include . doc example fuzz python xstc
+DIST_SUBDIRS = include . doc example python xstc
AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
@@ -210,7 +210,6 @@ runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
$(CHECKER) ./runxmlconf$(EXEEXT)
@(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
$(MAKE) tests ; fi)
- @cd fuzz; $(MAKE) tests
check: all runtests
--