mirror of
https://git.yoctoproject.org/poky
synced 2026-03-07 07:49:40 +01:00
Release notes:
https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5
(From OE-Core rev: b82cb6d55033ffff79b5a767bd50b06989c0acfc)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1022 B
Diff
35 lines
1022 B
Diff
From 7e99fef6eae0642a3f1e511e4d24abf7d6d28f50 Mon Sep 17 00:00:00 2001
|
|
From: Ross Burton <ross.burton@arm.com>
|
|
Date: Mon, 5 Dec 2022 17:02:32 +0000
|
|
Subject: [PATCH] add yocto-specific install-ptest target
|
|
|
|
Add a target to install the test suite.
|
|
|
|
Upstream-Status: Inappropriate
|
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
---
|
|
Makefile.am | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 6f98144..ecb3b54 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -26,6 +26,16 @@ check_PROGRAMS = \
|
|
testparser \
|
|
testrecurse
|
|
|
|
+ptestdir=$(libexecdir)
|
|
+install-test-data: $(check_PROGRAMS)
|
|
+ install -d $(DESTDIR)$(ptestdir) $(DESTDIR)$(ptestdir)/python/
|
|
+ for T in $(check_PROGRAMS); do \
|
|
+ $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$T $(DESTDIR)$(ptestdir) ;\
|
|
+ done
|
|
+ cp -r $(srcdir)/test $(DESTDIR)$(ptestdir)
|
|
+ cp -r $(srcdir)/result $(DESTDIR)$(ptestdir)
|
|
+ cp -r $(srcdir)/python/tests $(DESTDIR)$(ptestdir)/python
|
|
+
|
|
bin_PROGRAMS = xmllint
|
|
|
|
bin_SCRIPTS = xml2-config
|