aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-03-03 20:50:43 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-03-04 10:19:21 +0900
commitbb1650e6a61dccf6df0df34e11ac24370dd6bde3 (patch)
tree2f4d309c55fcaa0edd3956c97d50703fe09799ba
parent259f2ca031d83c3039c365c68216f10f60f9c533 (diff)
downloadmeta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.tar.gz
meta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.tar.bz2
meta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.zip
persistence-client-library: 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-client-library/persistence-client-library_%.bbappend24
-rw-r--r--meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_1.1.0.bb33
2 files changed, 24 insertions, 33 deletions
diff --git a/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend
new file mode 100644
index 0000000..58f2aa3
--- /dev/null
+++ b/meta-ivi-test/recipes-extended/persistence-client-library/persistence-client-library_%.bbappend
@@ -0,0 +1,24 @@
+#
+# for test
+#
+EXTRA_OECONF += "--enable-tests"
+
+do_install_append() {
+ install -d ${D}/opt/tests/${PN}
+ install -m 0755 ${S}/test/.libs/persistence_client_library_test \
+ ${D}/opt/tests/${PN}
+ install -d ${D}/Data
+ install -m 0644 ${S}/test/data/PAS_data.tar.gz \
+ ${D}/Data/Data.tar.gz
+}
+
+PACKAGES += "${PN}-test"
+DEPENDS_${PN}-test = "${PN}"
+
+FILES_${PN}-dbg += " \
+ /opt/tests/${PN}/.debug/* \
+ "
+FILES_${PN}-test = " \
+ /opt/tests/${PN}/persistence_client_library_test \
+ /Data/Data.tar.gz \
+ "
diff --git a/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_1.1.0.bb b/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_1.1.0.bb
index 756113e..522c7e5 100644
--- a/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_1.1.0.bb
+++ b/meta-ivi/recipes-extended/persistence-client-library/persistence-client-library_1.1.0.bb
@@ -32,36 +32,3 @@ do_install_append() {
}
RDEPENDS_${PN} = "node-state-manager"
-
-#
-# for test
-#
-EXTRA_OECONF += "--enable-tests"
-
-do_install_append() {
- install -d ${D}${bindir}
- install -m 0755 ${S}/test/.libs/persistence_client_library_test ${D}${bindir}
- #install -m 0755 ${S}/test/.libs/persistence_pfs_test ${D}${bindir}
- #install -m 0755 ${S}/test/pers_pfs_test_starter.sh ${D}${bindir}
- install -d ${D}/Data
- install -m 0644 ${S}/test/data/PAS_data.tar.gz ${D}/Data/Data.tar.gz
- #install -d ${D}/lib/systemd/system/
- #install -m 0755 ${S}/test/persistence-pfs-test-start.service ${D}/lib/systemd/system/
-}
-
-PACKAGES += "${PN}-testenv"
-RDEPENDS_${PN} += "${PN}-testenv"
-
-#inherit systemd
-#
-#SYSTEMD_PACKAGES = "${PN}-testenv"
-#SYSTEMD_SERVICE_${PN}-testenv = "persistence-pfs-test-start.service"
-#SYSTEMD_AUTO_ENABLE = "disable"
-
-FILES_${PN}-testenv = " \
- ${bindir}/persistence_client_library_test \
- /Data/Data.tar.gz \
-"
-# ${bindir}/persistence_pfs_test \
-# ${bindir}/pers_pfs_test_starter.sh \
-#