summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml
diff options
context:
space:
mode:
authorTony Tascioglu <tony.tascioglu@windriver.com>2021-05-17 14:16:38 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-18 23:52:54 +0100
commitd05cebc52b318f6c77431f9e815455e592b2401d (patch)
tree63e817eb08b0900a1a0ff7e6f547453a367a470c /meta/recipes-core/libxml
parent8ab36da6e8745e35cbf50492d7034fbaa18769f4 (diff)
downloadpoky-d05cebc52b318f6c77431f9e815455e592b2401d.tar.gz
libxml2: Reformat runtest.patch
Reformatted runtest.patch to allow it to be applied using git am. This makes it easier to apply the series of patches to the original git repo. There are no changes to the code of the patch other than the reformat. Previously, the patch claimed to be a backport, but I have not found an upstream commit so I've changed the Upstream-Status to pending. (From OE-Core rev: 0361d625e1573e846a2f03ed90a8b897bc405160) Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libxml')
-rw-r--r--meta/recipes-core/libxml/libxml2/runtest.patch45
1 files changed, 25 insertions, 20 deletions
diff --git a/meta/recipes-core/libxml/libxml2/runtest.patch b/meta/recipes-core/libxml/libxml2/runtest.patch
index 0dbb353c0f..c7a90cd3dc 100644
--- a/meta/recipes-core/libxml/libxml2/runtest.patch
+++ b/meta/recipes-core/libxml/libxml2/runtest.patch
@@ -1,28 +1,33 @@
1Add 'install-ptest' rule. Print a standard result line for 1From 6172ccd1e74bc181f5298f19e240234e12876abe Mon Sep 17 00:00:00 2001
2each test. 2From: Tony Tascioglu <tony.tascioglu@windriver.com>
3Date: Tue, 11 May 2021 11:57:46 -0400
4Subject: [PATCH] Add 'install-ptest' rule.
5
6Print a standard result line for each test.
3 7
4Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> 8Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
5Signed-off-by: Andrej Valek <andrej.valek@siemens.com> 9Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
6Upstream-Status: Backport 10Upstream-Status: Pending
7 11
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
13Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
9--- 14---
10 Makefile.am | 9 ++++ 15 Makefile.am | 9 +++
11 runsuite.c | 1 + 16 runsuite.c | 1 +
12 runtest.c | 2 + 17 runtest.c | 2 +
13 runxmlconf.c | 1 + 18 runxmlconf.c | 1 +
14 testapi.c | 122 ++++++++++++++++++++++++++++++--------------- 19 testapi.c | 122 ++++++++++++++++++++++++++-------------
15 testchar.c | 156 +++++++++++++++++++++++++++++++++++++++++----------------- 20 testchar.c | 156 +++++++++++++++++++++++++++++++++++---------------
16 testdict.c | 1 + 21 testdict.c | 1 +
17 testlimits.c | 1 + 22 testlimits.c | 1 +
18 testrecurse.c | 2 + 23 testrecurse.c | 2 +
19 9 files changed, 210 insertions(+), 85 deletions(-) 24 9 files changed, 210 insertions(+), 85 deletions(-)
20 25
21diff --git a/Makefile.am b/Makefile.am 26diff --git a/Makefile.am b/Makefile.am
22index 9c630be..7cfd04b 100644 27index 05d1671f..ae622745 100644
23--- a/Makefile.am 28--- a/Makefile.am
24+++ b/Makefile.am 29+++ b/Makefile.am
25@@ -202,6 +202,15 @@ runxmlconf_LDADD= $(LDADDS) 30@@ -198,6 +198,15 @@ runxmlconf_LDADD= $(LDADDS)
26 #testOOM_DEPENDENCIES = $(DEPS) 31 #testOOM_DEPENDENCIES = $(DEPS)
27 #testOOM_LDADD= $(LDADDS) 32 #testOOM_LDADD= $(LDADDS)
28 33
@@ -39,10 +44,10 @@ index 9c630be..7cfd04b 100644
39 testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT) 44 testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
40 [ -d test ] || $(LN_S) $(srcdir)/test . 45 [ -d test ] || $(LN_S) $(srcdir)/test .
41diff --git a/runsuite.c b/runsuite.c 46diff --git a/runsuite.c b/runsuite.c
42index aaab13e..9ba2c5d 100644 47index d24b5ec3..f7ff2521 100644
43--- a/runsuite.c 48--- a/runsuite.c
44+++ b/runsuite.c 49+++ b/runsuite.c
45@@ -1162,6 +1162,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { 50@@ -1147,6 +1147,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
46 51
47 if (logfile != NULL) 52 if (logfile != NULL)
48 fclose(logfile); 53 fclose(logfile);
@@ -51,10 +56,10 @@ index aaab13e..9ba2c5d 100644
51 } 56 }
52 #else /* !SCHEMAS */ 57 #else /* !SCHEMAS */
53diff --git a/runtest.c b/runtest.c 58diff --git a/runtest.c b/runtest.c
54index addda5c..8ba5d59 100644 59index ffa98d04..470f95cb 100644
55--- a/runtest.c 60--- a/runtest.c
56+++ b/runtest.c 61+++ b/runtest.c
57@@ -4501,6 +4501,7 @@ launchTests(testDescPtr tst) { 62@@ -4508,6 +4508,7 @@ launchTests(testDescPtr tst) {
58 xmlCharEncCloseFunc(ebcdicHandler); 63 xmlCharEncCloseFunc(ebcdicHandler);
59 xmlCharEncCloseFunc(eucJpHandler); 64 xmlCharEncCloseFunc(eucJpHandler);
60 65
@@ -62,7 +67,7 @@ index addda5c..8ba5d59 100644
62 return(err); 67 return(err);
63 } 68 }
64 69
65@@ -4577,6 +4578,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { 70@@ -4588,6 +4589,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
66 xmlCleanupParser(); 71 xmlCleanupParser();
67 xmlMemoryDump(); 72 xmlMemoryDump();
68 73
@@ -71,7 +76,7 @@ index addda5c..8ba5d59 100644
71 } 76 }
72 77
73diff --git a/runxmlconf.c b/runxmlconf.c 78diff --git a/runxmlconf.c b/runxmlconf.c
74index cef20f4..4f291fb 100644 79index 70f61017..e882b3a1 100644
75--- a/runxmlconf.c 80--- a/runxmlconf.c
76+++ b/runxmlconf.c 81+++ b/runxmlconf.c
77@@ -595,6 +595,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { 82@@ -595,6 +595,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
@@ -83,7 +88,7 @@ index cef20f4..4f291fb 100644
83 } 88 }
84 89
85diff --git a/testapi.c b/testapi.c 90diff --git a/testapi.c b/testapi.c
86index 4a751e2..7ccc066 100644 91index ff8b470d..52b51d78 100644
87--- a/testapi.c 92--- a/testapi.c
88+++ b/testapi.c 93+++ b/testapi.c
89@@ -1246,49 +1246,91 @@ static int 94@@ -1246,49 +1246,91 @@ static int
@@ -219,7 +224,7 @@ index 4a751e2..7ccc066 100644
219 } 224 }
220 225
221diff --git a/testchar.c b/testchar.c 226diff --git a/testchar.c b/testchar.c
222index 0d08792..f555d3b 100644 227index 6866a175..7bce0132 100644
223--- a/testchar.c 228--- a/testchar.c
224+++ b/testchar.c 229+++ b/testchar.c
225@@ -23,7 +23,7 @@ static void errorHandler(void *unused, xmlErrorPtr err) { 230@@ -23,7 +23,7 @@ static void errorHandler(void *unused, xmlErrorPtr err) {
@@ -797,7 +802,7 @@ index 0d08792..f555d3b 100644
797 /* 802 /*
798 * Cleanup function for the XML library. 803 * Cleanup function for the XML library.
799diff --git a/testdict.c b/testdict.c 804diff --git a/testdict.c b/testdict.c
800index 40bebd0..114b934 100644 805index 40bebd05..114b9347 100644
801--- a/testdict.c 806--- a/testdict.c
802+++ b/testdict.c 807+++ b/testdict.c
803@@ -440,5 +440,6 @@ int main(void) 808@@ -440,5 +440,6 @@ int main(void)
@@ -808,7 +813,7 @@ index 40bebd0..114b934 100644
808 return(ret); 813 return(ret);
809 } 814 }
810diff --git a/testlimits.c b/testlimits.c 815diff --git a/testlimits.c b/testlimits.c
811index 68c94db..1584434 100644 816index 059116a6..f0bee68d 100644
812--- a/testlimits.c 817--- a/testlimits.c
813+++ b/testlimits.c 818+++ b/testlimits.c
814@@ -1634,5 +1634,6 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { 819@@ -1634,5 +1634,6 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
@@ -819,7 +824,7 @@ index 68c94db..1584434 100644
819 return(ret); 824 return(ret);
820 } 825 }
821diff --git a/testrecurse.c b/testrecurse.c 826diff --git a/testrecurse.c b/testrecurse.c
822index f95ae1c..74c8f8b 100644 827index 0cbe25a6..3ecadb40 100644
823--- a/testrecurse.c 828--- a/testrecurse.c
824+++ b/testrecurse.c 829+++ b/testrecurse.c
825@@ -892,6 +892,7 @@ launchTests(testDescPtr tst) { 830@@ -892,6 +892,7 @@ launchTests(testDescPtr tst) {
@@ -838,5 +843,5 @@ index f95ae1c..74c8f8b 100644
838 return(ret); 843 return(ret);
839 } 844 }
840-- 845--
8412.7.4 8462.25.1
842 847