aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 17:04:28 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 22:08:00 +0900
commit61e2507b395f6fd6dd43cc611e20565c3b0c56be (patch)
treec2c7d62122bb4ceb52fe36b3873d2a3c5f58de58 /meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend
parent07a4053cb4b73a69ef2c2c1be5749a3bf6c0bf96 (diff)
downloadmeta-ivi-61e2507b395f6fd6dd43cc611e20565c3b0c56be.tar.gz
meta-ivi-61e2507b395f6fd6dd43cc611e20565c3b0c56be.tar.bz2
meta-ivi-61e2507b395f6fd6dd43cc611e20565c3b0c56be.zip
dlt-daemon: create *-test package
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend')
-rw-r--r--meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend b/meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend
new file mode 100644
index 0000000..8b50f89
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/dlt-daemon/dlt-daemon_%.bbappend
@@ -0,0 +1,26 @@
+#
+# for test
+#
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+SRC_URI_append += " \
+ file://0001-change-file-position-for-dlt-test-filetransfer.patch \
+ "
+
+EXTRA_OECMAKE += "-DWITH_DLTTEST=ON -DCMAKE_SKIP_RPATH=ON -DWITH_MAN=OFF"
+
+do_install_append() {
+ _BIN=${WORKDIR}/build/src/tests
+ install -d ${D}/opt/tests/${PN}/data
+ install -m 0755 ${_BIN}/dlt-test-* ${D}/opt/tests/${PN}
+}
+
+PACKAGES += "${PN}-test"
+DEPENDS_${PN}-test = "${PN}"
+
+FILES_${PN}-dbg += " \
+ /opt/tests/${PN}/.debug/* \
+ "
+FILES_${PN}-test = " \
+ /opt/tests/${PN}/dlt-test* \
+ /opt/tests/${PN}/data/* \
+ "