aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-29 19:37:55 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-29 20:28:34 +0900
commit1c3889b3f828fedd0260754163ca65e5644e8e69 (patch)
treec98e3a158427e8660ea51e552130ee3690ce2641
parent84dbf4e40a25a20257200ca45ca759a649a637ed (diff)
downloadmeta-ivi-1c3889b3f828fedd0260754163ca65e5644e8e69.tar.gz
meta-ivi-1c3889b3f828fedd0260754163ca65e5644e8e69.tar.bz2
meta-ivi-1c3889b3f828fedd0260754163ca65e5644e8e69.zip
node-startup-controller: add test script to *-nsm-dummy packageL-1.0
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rw-r--r--meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller/helper.zipbin0 -> 6970 bytes
-rw-r--r--meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller_%.bbappend19
2 files changed, 19 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller/helper.zip b/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller/helper.zip
new file mode 100644
index 0000000..2b0d9b5
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller/helper.zip
Binary files differ
diff --git a/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller_%.bbappend b/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller_%.bbappend
new file mode 100644
index 0000000..c9ccacc
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/node-startup-controller/node-startup-controller_%.bbappend
@@ -0,0 +1,19 @@
+#
+# for test
+#
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+SRC_URI_append += " \
+ file://helper.zip \
+ "
+
+do_install_append() {
+ install -d ${D}/opt/tests/${PN}
+ install -m 0755 ${WORKDIR}/helper/*.sh ${D}/opt/tests/${PN}
+ install -m 0644 ${WORKDIR}/helper/*.service ${D}/${systemd_unitdir}/system
+}
+
+FILES_${PN}-nsm-dummy += " \
+ /opt/tests/${PN}/* \
+ ${systemd_unitdir}/system/example.service \
+ ${systemd_unitdir}/system/hello.service \
+ "