aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/libxml/libxml2/fix-execution-of-ptests.patch
blob: 51a9e1935fcc7bb47bd0a8cdf6c2afa1d6af6490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Make sure that Makefile doesn't try to compile these tests again
on the target where the source dependencies won't be available.

Upstream-Status: Inappropriate [cross-compile specific]

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>

Index: libxml2-2.9.7/Makefile.am
===================================================================
--- libxml2-2.9.7.orig/Makefile.am
+++ libxml2-2.9.7/Makefile.am
@@ -211,8 +211,7 @@ install-ptest:
 	sed -i -e 's|^Makefile:|_Makefile:|' $(DESTDIR)/Makefile
 	$(MAKE) -C python install-ptest
 
-runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
-          testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
+runtests:
 	[ -d test   ] || $(LN_S) $(srcdir)/test   .
 	[ -d result ] || $(LN_S) $(srcdir)/result .
 	$(CHECKER) ./runtest$(EXEEXT) && \