aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-07-21 16:26:41 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-07-22 18:05:08 +0900
commitac2477469052e8c94c751a63781ee6d969e027f0 (patch)
treeaaa2018e0bf74c805a4ffc69256695e99ebfdb9f /meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend
parent3d5fe70bf61118412ca346c353eaa1c881bc1044 (diff)
downloadmeta-ivi-ac2477469052e8c94c751a63781ee6d969e027f0.tar.gz
meta-ivi-ac2477469052e8c94c751a63781ee6d969e027f0.tar.bz2
meta-ivi-ac2477469052e8c94c751a63781ee6d969e027f0.zip
test-fw: added (test framework)
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend')
-rw-r--r--meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend15
1 files changed, 8 insertions, 7 deletions
diff --git a/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend b/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend
index e0026d4..13bcb3d 100644
--- a/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend
+++ b/meta-ivi-test/recipes-extended/persistence-administrator/persistence-administrator_%.bbappend
@@ -1,6 +1,10 @@
#
# test
#
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+SRC_URI_append += " file://${BPN}_t.inc \
+ "
+
do_install_append() {
install -d ${D}/opt/tests/${PN}
mv ${S}/test/pers_svc_test/.libs/pers_admin_test_framework \
@@ -13,15 +17,12 @@ do_install_append() {
touch ${D}/Data/mnt-wt/README.wt
install -d ${D}/Data/mnt-c/
touch ${D}/Data/mnt-wt/README.c
+
+ install -m 0755 ${WORKDIR}/${BPN}_t.inc ${D}/opt/tests/${PN}
}
PACKAGES += "${PN}-test"
DEPENDS_${PN}-test = "${PN}"
-FILES_${PN}-dbg += " \
- /opt/tests/${PN}/.debug/* \
- "
-FILES_${PN}-test = " \
- /opt/tests/${PN}/* \
- /Data/* \
- "
+FILES_${PN}-dbg += "/opt/tests/${PN}/.debug/* "
+FILES_${PN}-test = "/opt/tests/${PN}/ /Data/* "