aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test
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 /meta-ivi-test
parent259f2ca031d83c3039c365c68216f10f60f9c533 (diff)
downloadmeta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.zip
meta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.tar.gz
meta-ivi-bb1650e6a61dccf6df0df34e11ac24370dd6bde3.tar.bz2
persistence-client-library: 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-client-library/persistence-client-library_%.bbappend24
1 files changed, 24 insertions, 0 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 \
+ "