libxml2-2.9.11-disable-fuzz-tests.patch 1014 B

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