diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-12-12 19:14:23 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-16 23:25:49 +0000 |
| commit | d62895e112e25f72308cb31f70aeb16d7eefb008 (patch) | |
| tree | 68475bf76a23749179aa0ea9904dc236bf009822 /meta | |
| parent | d80f1a2c09da9d2cf698078ccef481bff58b9eb9 (diff) | |
| download | poky-d62895e112e25f72308cb31f70aeb16d7eefb008.tar.gz | |
libxml2: update to 2.9.10
(From OE-Core rev: de72e0440bc36fab09a7e3c13d3967c97dcda66b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch | 62 | ||||
| -rw-r--r-- | meta/recipes-core/libxml/libxml2_2.9.10.bb (renamed from meta/recipes-core/libxml/libxml2_2.9.9.bb) | 4 |
2 files changed, 34 insertions, 32 deletions
diff --git a/meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch b/meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch index 2b92dbc8dc..5e9a0a506b 100644 --- a/meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch +++ b/meta/recipes-core/libxml/libxml2/0001-Make-ptest-run-the-python-tests-if-python-is-enabled.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 78dbd4c09d617a9cb730d796f94ee4d93840d3cc Mon Sep 17 00:00:00 2001 | 1 | From 2b5fb416aa275fd2a17a0139a2f783998bcb42cc Mon Sep 17 00:00:00 2001 |
| 2 | From: Peter Kjellerstedt <pkj@axis.com> | 2 | From: Peter Kjellerstedt <pkj@axis.com> |
| 3 | Date: Fri, 9 Jun 2017 17:50:46 +0200 | 3 | Date: Fri, 9 Jun 2017 17:50:46 +0200 |
| 4 | Subject: [PATCH] Make ptest run the python tests if python is enabled | 4 | Subject: [PATCH] Make ptest run the python tests if python is enabled |
| @@ -8,18 +8,19 @@ be due to the fact that the tests are forced to run with Python 3. | |||
| 8 | 8 | ||
| 9 | Upstream-Status: Inappropriate [OE specific] | 9 | Upstream-Status: Inappropriate [OE specific] |
| 10 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 10 | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> |
| 11 | |||
| 11 | --- | 12 | --- |
| 12 | Makefile.am | 2 +- | 13 | Makefile.am | 2 +- |
| 13 | python/Makefile.am | 9 +++++++++ | 14 | python/Makefile.am | 9 +++++++++ |
| 14 | python/tests/Makefile.am | 12 ++++++++++-- | 15 | python/tests/Makefile.am | 10 ++++++++++ |
| 15 | python/tests/tstLastError.py | 2 +- | 16 | python/tests/tstLastError.py | 2 +- |
| 16 | 4 files changed, 21 insertions(+), 4 deletions(-) | 17 | 4 files changed, 21 insertions(+), 2 deletions(-) |
| 17 | 18 | ||
| 18 | Index: libxml2-2.9.7/Makefile.am | 19 | diff --git a/Makefile.am b/Makefile.am |
| 19 | =================================================================== | 20 | index ae62274..bd1e425 100644 |
| 20 | --- libxml2-2.9.7.orig/Makefile.am | 21 | --- a/Makefile.am |
| 21 | +++ libxml2-2.9.7/Makefile.am | 22 | +++ b/Makefile.am |
| 22 | @@ -207,9 +207,9 @@ install-ptest: | 23 | @@ -203,9 +203,9 @@ install-ptest: |
| 23 | install $(check_PROGRAMS) $(DESTDIR)) | 24 | install $(check_PROGRAMS) $(DESTDIR)) |
| 24 | cp -r $(srcdir)/test $(DESTDIR) | 25 | cp -r $(srcdir)/test $(DESTDIR) |
| 25 | cp -r $(srcdir)/result $(DESTDIR) | 26 | cp -r $(srcdir)/result $(DESTDIR) |
| @@ -30,11 +31,11 @@ Index: libxml2-2.9.7/Makefile.am | |||
| 30 | 31 | ||
| 31 | runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \ | 32 | runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \ |
| 32 | testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT) | 33 | testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT) |
| 33 | Index: libxml2-2.9.7/python/Makefile.am | 34 | diff --git a/python/Makefile.am b/python/Makefile.am |
| 34 | =================================================================== | 35 | index 34aed96..ba3ec6a 100644 |
| 35 | --- libxml2-2.9.7.orig/python/Makefile.am | 36 | --- a/python/Makefile.am |
| 36 | +++ libxml2-2.9.7/python/Makefile.am | 37 | +++ b/python/Makefile.am |
| 37 | @@ -48,7 +48,16 @@ GENERATED = libxml2class.py libxml2class | 38 | @@ -48,7 +48,16 @@ GENERATED = libxml2class.py libxml2class.txt $(BUILT_SOURCES) |
| 38 | 39 | ||
| 39 | $(GENERATED): $(srcdir)/generator.py $(API_DESC) | 40 | $(GENERATED): $(srcdir)/generator.py $(API_DESC) |
| 40 | $(PYTHON) $(srcdir)/generator.py $(srcdir) | 41 | $(PYTHON) $(srcdir)/generator.py $(srcdir) |
| @@ -51,10 +52,10 @@ Index: libxml2-2.9.7/python/Makefile.am | |||
| 51 | +.PHONY: tests test | 52 | +.PHONY: tests test |
| 52 | tests test: all | 53 | tests test: all |
| 53 | cd tests && $(MAKE) tests | 54 | cd tests && $(MAKE) tests |
| 54 | Index: libxml2-2.9.7/python/tests/Makefile.am | 55 | diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am |
| 55 | =================================================================== | 56 | index 227e24d..021bb29 100644 |
| 56 | --- libxml2-2.9.7.orig/python/tests/Makefile.am | 57 | --- a/python/tests/Makefile.am |
| 57 | +++ libxml2-2.9.7/python/tests/Makefile.am | 58 | +++ b/python/tests/Makefile.am |
| 58 | @@ -59,6 +59,11 @@ XMLS= \ | 59 | @@ -59,6 +59,11 @@ XMLS= \ |
| 59 | CLEANFILES = core tmp.xml *.pyc | 60 | CLEANFILES = core tmp.xml *.pyc |
| 60 | 61 | ||
| @@ -67,24 +68,25 @@ Index: libxml2-2.9.7/python/tests/Makefile.am | |||
| 67 | tests: $(PYTESTS) | 68 | tests: $(PYTESTS) |
| 68 | @for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done | 69 | @for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done |
| 69 | @echo "## running Python regression tests" | 70 | @echo "## running Python regression tests" |
| 70 | @@ -68,8 +73,11 @@ tests: $(PYTESTS) | 71 | @@ -70,9 +75,14 @@ tests: $(PYTESTS) |
| 71 | export LD_LIBRARY_PATH; \ | 72 | if [ "$$?" -ne 0 ] ; then \ |
| 72 | for test in $(PYTESTS) ; \ | 73 | echo "-- $$test" ; \ |
| 73 | do log=`$(PYTHON) $(srcdir)/$$test` ; \ | 74 | echo "$$log" ; \ |
| 74 | - if [ "`echo $$log | grep OK`" = "" ] ; then \ | 75 | + echo "FAIL: $$test"; \ |
| 75 | - echo "-- $$test" ; echo "$$log" ; fi ; done) | 76 | exit 1 ; \ |
| 76 | + if [ "`echo $$log | grep OK`" ]; then \ | 77 | + else \ |
| 77 | + echo "PASS: $$test"; else \ | 78 | + echo "PASS: $$test"; \ |
| 78 | + echo "$$log"; echo "FAIL: $$test"; fi; done) | 79 | fi ; \ |
| 80 | done) | ||
| 79 | else | 81 | else |
| 80 | +install-ptest: | 82 | +install-ptest: |
| 81 | + | 83 | + |
| 82 | tests: | 84 | tests: |
| 83 | endif | 85 | endif |
| 84 | Index: libxml2-2.9.7/python/tests/tstLastError.py | 86 | diff --git a/python/tests/tstLastError.py b/python/tests/tstLastError.py |
| 85 | =================================================================== | 87 | index 81d0acc..162c8db 100755 |
| 86 | --- libxml2-2.9.7.orig/python/tests/tstLastError.py | 88 | --- a/python/tests/tstLastError.py |
| 87 | +++ libxml2-2.9.7/python/tests/tstLastError.py | 89 | +++ b/python/tests/tstLastError.py |
| 88 | @@ -25,7 +25,7 @@ class TestCase(unittest.TestCase): | 90 | @@ -25,7 +25,7 @@ class TestCase(unittest.TestCase): |
| 89 | when the exception is raised, check the libxml2.lastError for | 91 | when the exception is raised, check the libxml2.lastError for |
| 90 | expected values.""" | 92 | expected values.""" |
diff --git a/meta/recipes-core/libxml/libxml2_2.9.9.bb b/meta/recipes-core/libxml/libxml2_2.9.10.bb index 5a7e098f38..2c833fa7a2 100644 --- a/meta/recipes-core/libxml/libxml2_2.9.9.bb +++ b/meta/recipes-core/libxml/libxml2_2.9.10.bb | |||
| @@ -22,8 +22,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \ | |||
| 22 | file://fix-execution-of-ptests.patch \ | 22 | file://fix-execution-of-ptests.patch \ |
| 23 | " | 23 | " |
| 24 | 24 | ||
| 25 | SRC_URI[libtar.md5sum] = "c04a5a0a042eaa157e8e8c9eabe76bd6" | 25 | SRC_URI[libtar.md5sum] = "10942a1dc23137a8aa07f0639cbfece5" |
| 26 | SRC_URI[libtar.sha256sum] = "94fb70890143e3c6549f265cee93ec064c80a84c42ad0f23e85ee1fd6540a871" | 26 | SRC_URI[libtar.sha256sum] = "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f" |
| 27 | SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a" | 27 | SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a" |
| 28 | SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7" | 28 | SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7" |
| 29 | 29 | ||
