aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--meta-ivi-test/recipes-extended/persistence-common-object/persistence-common-object_%.bbappend21
-rw-r--r--meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb28
2 files changed, 25 insertions, 24 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 \
+ "
diff --git a/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb b/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
index f486936..655f267 100644
--- a/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
+++ b/meta-ivi/recipes-extended/persistence-common-object/persistence-common-object_1.0.3.bb
@@ -18,29 +18,9 @@ S = "${WORKDIR}/git"
inherit autotools-brokensep pkgconfig
-EXTRA_OECONF = "--with-dbuspolicydir=${sysconfdir} --with-database=key-value-store"
-
-FILES_${PN} += "${datadir}"
-
-#
-# for test
-#
-EXTRA_OECONF += "--enable-tests"
-
-do_install_append() {
- install -d ${D}${bindir}
- install -m 0755 ${S}/test/.libs/test_pco_key_value_store ${D}${bindir}
-}
-
-PACKAGES += "${PN}-testenv"
-RDEPENDS_${PN} += "${PN}-testenv"
-
-FILES_${PN} = " \
- ${libdir}/*.so.* \
- ${sysconfdir} \
- ${datadir}/dbus-1/interfaces/* \
+EXTRA_OECONF = " \
+ --with-dbuspolicydir=${sysconfdir} \
+ --with-database=key-value-store \
"
-FILES_${PN}-testenv = " \
- ${bindir}/test_pco_key_value_store \
- "
+FILES_${PN} += "${datadir}"