aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 19:21:37 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 22:08:00 +0900
commit336bb19c7d9da6e6a36a7f2cedfb50607ca56eba (patch)
tree7e65ff05a7e6ba0476044f9be0206cd9a2c046eb /meta-ivi-test
parent61e2507b395f6fd6dd43cc611e20565c3b0c56be (diff)
downloadmeta-ivi-336bb19c7d9da6e6a36a7f2cedfb50607ca56eba.tar.gz
meta-ivi-336bb19c7d9da6e6a36a7f2cedfb50607ca56eba.tar.bz2
meta-ivi-336bb19c7d9da6e6a36a7f2cedfb50607ca56eba.zip
node-state-manager: create *-test package
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test')
-rw-r--r--meta-ivi-test/recipes-extended/node-state-manager/node-state-manager_%.bbappend24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/node-state-manager/node-state-manager_%.bbappend b/meta-ivi-test/recipes-extended/node-state-manager/node-state-manager_%.bbappend
new file mode 100644
index 0000000..e8e8a2b
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/node-state-manager/node-state-manager_%.bbappend
@@ -0,0 +1,24 @@
+#
+# for test
+#
+do_install_append() {
+ install -d ${D}/opt/tests/${PN}/lib
+ install -m 0755 ${S}/NodeStateTest/NodeStateTest ${D}/opt/tests/${PN}
+ install -m 0644 ${S}/NodeStateTest/org.genivi.NodeStateMachineTest.xml \
+ ${D}${datadir}/dbus-1/interfaces/
+ install -m 0755 ${S}/NodeStateTest/.libs/libNodeStateMachineTest.so \
+ ${D}/opt/tests/${PN}/lib
+}
+
+PACKAGES += "${PN}-test"
+DEPENDS_${PN}-test = "${PN}"
+
+FILES_${PN}-dbg += " \
+ /opt/tests/${PN}/.debug/* \
+ /opt/tests/${PN}/lib/.debug/* \
+ "
+FILES_${PN}-test = " \
+ /opt/tests/${PN}/* \
+ /opt/tests/${PN}/lib/libNodeStateMachineTest.so \
+ ${datadir}/dbus-1/interfaces/org.genivi.NodeStateMachineTest.xml \
+ "