summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch')
-rw-r--r--meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch b/meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch
new file mode 100644
index 0000000000..51a9e1935f
--- /dev/null
+++ b/meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch
@@ -0,0 +1,21 @@
1Make sure that Makefile doesn't try to compile these tests again
2on the target where the source dependencies won't be available.
3
4Upstream-Status: Inappropriate [cross-compile specific]
5
6Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
7
8Index: libxml2-2.9.7/Makefile.am
9===================================================================
10--- libxml2-2.9.7.orig/Makefile.am
11+++ libxml2-2.9.7/Makefile.am
12@@ -211,8 +211,7 @@ install-ptest:
13 sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/Makefile
14 $(MAKE) -C python install-ptest
15
16-runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
17- testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
18+runtests:
19 [ -d test ] || $(LN_S) $(srcdir)/test .
20 [ -d result ] || $(LN_S) $(srcdir)/result .
21 $(CHECKER) ./runtest$(EXEEXT) && \