aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-03 20:51:57 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 22:08:00 +0900
commitf31cab88a17a13f08544cc11ce53e610b20cf3b9 (patch)
treee3305659f964ee0625faeeffa498aa41ff31efa1 /meta-ivi-test
parentd4c5075b8643a242504b29dbc866fb6ad0fa85df (diff)
downloadmeta-ivi-f31cab88a17a13f08544cc11ce53e610b20cf3b9.tar.gz
meta-ivi-f31cab88a17a13f08544cc11ce53e610b20cf3b9.tar.bz2
meta-ivi-f31cab88a17a13f08544cc11ce53e610b20cf3b9.zip
persistence-common-object: move *-test package to meta-ivi-test layer
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/persistence-common-object/persistence-common-object_%.bbappend21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-extended/persistence-common-object/persistence-common-object_%.bbappend b/meta-ivi-test/recipes-extended/persistence-common-object/persistence-common-object_%.bbappend
new file mode 100644
index 0000000..3fbada1
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/persistence-common-object/persistence-common-object_%.bbappend
@@ -0,0 +1,21 @@
+#
+# for test
+#
+EXTRA_OECONF += "--enable-tests"
+
+do_install_append() {
+ install -d ${D}/opt/tests/${PN}
+ install -m 0755 ${S}/test/.libs/test_pco_key_value_store \
+ ${D}/opt/tests/${PN}
+}
+
+PACKAGES += "${PN}-test"
+DEPENDS_${PN}-test += "${PN}"
+
+FILES_${PN}-dbg += " \
+ /opt/tests/${PN}/.debug/* \
+ "
+
+FILES_${PN}-test = " \
+ /opt/tests/${PN}/test_pco_key_value_store \
+ "