diff options
| -rw-r--r-- | meta/recipes-core/libxml/libxml2/runtest.patch | 45 |
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 @@ | |||
| 1 | Add 'install-ptest' rule. Print a standard result line for | 1 | From 6172ccd1e74bc181f5298f19e240234e12876abe Mon Sep 17 00:00:00 2001 |
| 2 | each test. | 2 | From: Tony Tascioglu <tony.tascioglu@windriver.com> |
| 3 | Date: Tue, 11 May 2021 11:57:46 -0400 | ||
| 4 | Subject: [PATCH] Add 'install-ptest' rule. | ||
| 5 | |||
| 6 | Print a standard result line for each test. | ||
| 3 | 7 | ||
| 4 | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> | 8 | Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com> |
| 5 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> | 9 | Signed-off-by: Andrej Valek <andrej.valek@siemens.com> |
| 6 | Upstream-Status: Backport | 10 | Upstream-Status: Pending |
| 7 | 11 | ||
| 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 13 | Signed-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 | ||
| 21 | diff --git a/Makefile.am b/Makefile.am | 26 | diff --git a/Makefile.am b/Makefile.am |
| 22 | index 9c630be..7cfd04b 100644 | 27 | index 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 . |
| 41 | diff --git a/runsuite.c b/runsuite.c | 46 | diff --git a/runsuite.c b/runsuite.c |
| 42 | index aaab13e..9ba2c5d 100644 | 47 | index 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 */ |
| 53 | diff --git a/runtest.c b/runtest.c | 58 | diff --git a/runtest.c b/runtest.c |
| 54 | index addda5c..8ba5d59 100644 | 59 | index 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 | ||
| 73 | diff --git a/runxmlconf.c b/runxmlconf.c | 78 | diff --git a/runxmlconf.c b/runxmlconf.c |
| 74 | index cef20f4..4f291fb 100644 | 79 | index 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 | ||
| 85 | diff --git a/testapi.c b/testapi.c | 90 | diff --git a/testapi.c b/testapi.c |
| 86 | index 4a751e2..7ccc066 100644 | 91 | index 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 | ||
| 221 | diff --git a/testchar.c b/testchar.c | 226 | diff --git a/testchar.c b/testchar.c |
| 222 | index 0d08792..f555d3b 100644 | 227 | index 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. |
| 799 | diff --git a/testdict.c b/testdict.c | 804 | diff --git a/testdict.c b/testdict.c |
| 800 | index 40bebd0..114b934 100644 | 805 | index 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 | } |
| 810 | diff --git a/testlimits.c b/testlimits.c | 815 | diff --git a/testlimits.c b/testlimits.c |
| 811 | index 68c94db..1584434 100644 | 816 | index 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 | } |
| 821 | diff --git a/testrecurse.c b/testrecurse.c | 826 | diff --git a/testrecurse.c b/testrecurse.c |
| 822 | index f95ae1c..74c8f8b 100644 | 827 | index 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 | -- |
| 841 | 2.7.4 | 846 | 2.25.1 |
| 842 | 847 | ||
