summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch')
-rw-r--r--meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch b/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
new file mode 100644
index 0000000000..e80c46054e
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/remove-fuzz-from-ptests.patch
@@ -0,0 +1,43 @@
1From e49a0d4a8f3f725d6f683854e1cad36a3cd02962 Mon Sep 17 00:00:00 2001
2From: Tony Tascioglu <tony.tascioglu@windriver.com>
3Date: Wed, 19 May 2021 19:43:56 -0400
4Subject: [PATCH] Remove fuzz testing from executing with ptests.
5
6Upstream version 2.9.12 introduced new fuzz-testing and a corresponding
7folder fuzz. These tests are not required for ptests of this package.
8
9This patch removes the fuzz testing targets from the Makefile.
10Otherwise, running the ptests will fail due to the invalid directory.
11
12Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
13---
14 Makefile.am | 5 ++---
15 1 file changed, 2 insertions(+), 3 deletions(-)
16
17diff --git a/Makefile.am b/Makefile.am
18index a9284b95..3d7b344d 100644
19--- a/Makefile.am
20+++ b/Makefile.am
21@@ -2,9 +2,9 @@
22
23 ACLOCAL_AMFLAGS = -I m4
24
25-SUBDIRS = include . doc example fuzz xstc $(PYTHON_SUBDIR)
26+SUBDIRS = include . doc example xstc $(PYTHON_SUBDIR)
27
28-DIST_SUBDIRS = include . doc example fuzz python xstc
29+DIST_SUBDIRS = include . doc example python xstc
30
31 AM_CPPFLAGS = -I$(top_builddir)/include -I$(srcdir)/include
32
33@@ -210,7 +210,6 @@ runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
34 $(CHECKER) ./runxmlconf$(EXEEXT)
35 @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
36 $(MAKE) tests ; fi)
37- @cd fuzz; $(MAKE) tests
38
39 check: all runtests
40
41--
422.25.1
43