summaryrefslogtreecommitdiffstats
path: root/import-layers/meta-virtualization/recipes-extended/libvirt/libvirt/0001-ptest-add-missing-test_helper-files.patch
blob: b4f1e2730cf0ac33a269341fedbd6ff2eddc0582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From e625a42caca492fe7d52b70bbbf83ae4d99cb15e Mon Sep 17 00:00:00 2001
From: He Zhe <zhe.he@windriver.com>
Date: Tue, 23 Aug 2016 02:16:20 -0400
Subject: [PATCH] ptest: add missing test_helper files

Signed-off-by: He Zhe <zhe.he@windriver.com>
---
 tests/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1c85656..2f8b9eb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1422,8 +1422,10 @@ install-ptest:
 	@(for file in $(PTESTS); do \
 		if [ -f .libs/$$file ]; then \
 			install .libs/$$file $(DEST_DIR)/tests; \
-		else \
+		elif [ -f $(srcdir)/$$file ]; then \
 			install $(srcdir)/$$file $(DEST_DIR)/tests; \
+		else \
+			install $(builddir)/$$file $(DEST_DIR)/tests; \
 		fi; \
 	done;)
 	@(if [ -d .libs ]; then install .libs/*.so $(DEST_DIR)/tests/.libs; fi;)
-- 
2.8.1

OpenPOWER on IntegriCloud