mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 16:39:40 +01:00
License-Update: hash.c is rewritten and no longer carries a special copyright notice, but dict.c still does (Copyright file updated to reflect that) (From OE-Core rev: a14769d40bee751ac1dcd536789e8e346046e141) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
35 lines
1.0 KiB
Diff
35 lines
1.0 KiB
Diff
From 0779511838a8cbd1e0f431c22f28f286a2a37b1b 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 0a49d37..1097c63 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -27,6 +27,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 xmlcatalog
|
|
|
|
bin_SCRIPTS = xml2-config
|