mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d80f1a2c09
commit
d62895e112
+32
-30
@@ -1,4 +1,4 @@
|
|||||||
From 78dbd4c09d617a9cb730d796f94ee4d93840d3cc Mon Sep 17 00:00:00 2001
|
From 2b5fb416aa275fd2a17a0139a2f783998bcb42cc Mon Sep 17 00:00:00 2001
|
||||||
From: Peter Kjellerstedt <pkj@axis.com>
|
From: Peter Kjellerstedt <pkj@axis.com>
|
||||||
Date: Fri, 9 Jun 2017 17:50:46 +0200
|
Date: Fri, 9 Jun 2017 17:50:46 +0200
|
||||||
Subject: [PATCH] Make ptest run the python tests if python is enabled
|
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.
|
|||||||
|
|
||||||
Upstream-Status: Inappropriate [OE specific]
|
Upstream-Status: Inappropriate [OE specific]
|
||||||
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
|
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
|
||||||
|
|
||||||
---
|
---
|
||||||
Makefile.am | 2 +-
|
Makefile.am | 2 +-
|
||||||
python/Makefile.am | 9 +++++++++
|
python/Makefile.am | 9 +++++++++
|
||||||
python/tests/Makefile.am | 12 ++++++++++--
|
python/tests/Makefile.am | 10 ++++++++++
|
||||||
python/tests/tstLastError.py | 2 +-
|
python/tests/tstLastError.py | 2 +-
|
||||||
4 files changed, 21 insertions(+), 4 deletions(-)
|
4 files changed, 21 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
Index: libxml2-2.9.7/Makefile.am
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
===================================================================
|
index ae62274..bd1e425 100644
|
||||||
--- libxml2-2.9.7.orig/Makefile.am
|
--- a/Makefile.am
|
||||||
+++ libxml2-2.9.7/Makefile.am
|
+++ b/Makefile.am
|
||||||
@@ -207,9 +207,9 @@ install-ptest:
|
@@ -203,9 +203,9 @@ install-ptest:
|
||||||
install $(check_PROGRAMS) $(DESTDIR))
|
install $(check_PROGRAMS) $(DESTDIR))
|
||||||
cp -r $(srcdir)/test $(DESTDIR)
|
cp -r $(srcdir)/test $(DESTDIR)
|
||||||
cp -r $(srcdir)/result $(DESTDIR)
|
cp -r $(srcdir)/result $(DESTDIR)
|
||||||
@@ -30,11 +31,11 @@ Index: libxml2-2.9.7/Makefile.am
|
|||||||
|
|
||||||
runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
|
runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
|
||||||
testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
|
testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
|
||||||
Index: libxml2-2.9.7/python/Makefile.am
|
diff --git a/python/Makefile.am b/python/Makefile.am
|
||||||
===================================================================
|
index 34aed96..ba3ec6a 100644
|
||||||
--- libxml2-2.9.7.orig/python/Makefile.am
|
--- a/python/Makefile.am
|
||||||
+++ libxml2-2.9.7/python/Makefile.am
|
+++ b/python/Makefile.am
|
||||||
@@ -48,7 +48,16 @@ GENERATED = libxml2class.py libxml2class
|
@@ -48,7 +48,16 @@ GENERATED = libxml2class.py libxml2class.txt $(BUILT_SOURCES)
|
||||||
|
|
||||||
$(GENERATED): $(srcdir)/generator.py $(API_DESC)
|
$(GENERATED): $(srcdir)/generator.py $(API_DESC)
|
||||||
$(PYTHON) $(srcdir)/generator.py $(srcdir)
|
$(PYTHON) $(srcdir)/generator.py $(srcdir)
|
||||||
@@ -51,10 +52,10 @@ Index: libxml2-2.9.7/python/Makefile.am
|
|||||||
+.PHONY: tests test
|
+.PHONY: tests test
|
||||||
tests test: all
|
tests test: all
|
||||||
cd tests && $(MAKE) tests
|
cd tests && $(MAKE) tests
|
||||||
Index: libxml2-2.9.7/python/tests/Makefile.am
|
diff --git a/python/tests/Makefile.am b/python/tests/Makefile.am
|
||||||
===================================================================
|
index 227e24d..021bb29 100644
|
||||||
--- libxml2-2.9.7.orig/python/tests/Makefile.am
|
--- a/python/tests/Makefile.am
|
||||||
+++ libxml2-2.9.7/python/tests/Makefile.am
|
+++ b/python/tests/Makefile.am
|
||||||
@@ -59,6 +59,11 @@ XMLS= \
|
@@ -59,6 +59,11 @@ XMLS= \
|
||||||
CLEANFILES = core tmp.xml *.pyc
|
CLEANFILES = core tmp.xml *.pyc
|
||||||
|
|
||||||
@@ -67,24 +68,25 @@ Index: libxml2-2.9.7/python/tests/Makefile.am
|
|||||||
tests: $(PYTESTS)
|
tests: $(PYTESTS)
|
||||||
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
|
@for f in $(XMLS) ; do test -f $$f || $(LN_S) $(srcdir)/$$f . ; done
|
||||||
@echo "## running Python regression tests"
|
@echo "## running Python regression tests"
|
||||||
@@ -68,8 +73,11 @@ tests: $(PYTESTS)
|
@@ -70,9 +75,14 @@ tests: $(PYTESTS)
|
||||||
export LD_LIBRARY_PATH; \
|
if [ "$$?" -ne 0 ] ; then \
|
||||||
for test in $(PYTESTS) ; \
|
echo "-- $$test" ; \
|
||||||
do log=`$(PYTHON) $(srcdir)/$$test` ; \
|
echo "$$log" ; \
|
||||||
- if [ "`echo $$log | grep OK`" = "" ] ; then \
|
+ echo "FAIL: $$test"; \
|
||||||
- echo "-- $$test" ; echo "$$log" ; fi ; done)
|
exit 1 ; \
|
||||||
+ if [ "`echo $$log | grep OK`" ]; then \
|
+ else \
|
||||||
+ echo "PASS: $$test"; else \
|
+ echo "PASS: $$test"; \
|
||||||
+ echo "$$log"; echo "FAIL: $$test"; fi; done)
|
fi ; \
|
||||||
|
done)
|
||||||
else
|
else
|
||||||
+install-ptest:
|
+install-ptest:
|
||||||
+
|
+
|
||||||
tests:
|
tests:
|
||||||
endif
|
endif
|
||||||
Index: libxml2-2.9.7/python/tests/tstLastError.py
|
diff --git a/python/tests/tstLastError.py b/python/tests/tstLastError.py
|
||||||
===================================================================
|
index 81d0acc..162c8db 100755
|
||||||
--- libxml2-2.9.7.orig/python/tests/tstLastError.py
|
--- a/python/tests/tstLastError.py
|
||||||
+++ libxml2-2.9.7/python/tests/tstLastError.py
|
+++ b/python/tests/tstLastError.py
|
||||||
@@ -25,7 +25,7 @@ class TestCase(unittest.TestCase):
|
@@ -25,7 +25,7 @@ class TestCase(unittest.TestCase):
|
||||||
when the exception is raised, check the libxml2.lastError for
|
when the exception is raised, check the libxml2.lastError for
|
||||||
expected values."""
|
expected values."""
|
||||||
|
|||||||
+2
-2
@@ -22,8 +22,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \
|
|||||||
file://fix-execution-of-ptests.patch \
|
file://fix-execution-of-ptests.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[libtar.md5sum] = "c04a5a0a042eaa157e8e8c9eabe76bd6"
|
SRC_URI[libtar.md5sum] = "10942a1dc23137a8aa07f0639cbfece5"
|
||||||
SRC_URI[libtar.sha256sum] = "94fb70890143e3c6549f265cee93ec064c80a84c42ad0f23e85ee1fd6540a871"
|
SRC_URI[libtar.sha256sum] = "aafee193ffb8fe0c82d4afef6ef91972cbaf5feea100edc2f262750611b4be1f"
|
||||||
SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
|
SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
|
||||||
SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
|
SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
|
||||||
|
|
||||||
Reference in New Issue
Block a user