aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong-iL Joh <yong-il.joh@windriver.com>2016-02-26 23:15:49 +0900
committerYong-iL Joh <yong-il.joh@windriver.com>2016-02-26 23:37:54 +0900
commite7bbc1a96e8a91c897d3e024046bafb6ab454fb9 (patch)
tree3c6eab75344f76e30231952b9a9fec1603224b2b
parentc38fa4f3a8fbb493bcfdc56af33322bd594a2bb0 (diff)
downloadmeta-ivi-e7bbc1a96e8a91c897d3e024046bafb6ab454fb9.tar.gz
meta-ivi-e7bbc1a96e8a91c897d3e024046bafb6ab454fb9.tar.bz2
meta-ivi-e7bbc1a96e8a91c897d3e024046bafb6ab454fb9.zip
persistence-administrator: add *-testenv packageL-0.2
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
-rw-r--r--meta-ivi/recipes-extended/persistence-administrator/persistence-administrator_1.0.5.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta-ivi/recipes-extended/persistence-administrator/persistence-administrator_1.0.5.bb b/meta-ivi/recipes-extended/persistence-administrator/persistence-administrator_1.0.5.bb
index 7eb4ca9..7525bfd 100644
--- a/meta-ivi/recipes-extended/persistence-administrator/persistence-administrator_1.0.5.bb
+++ b/meta-ivi/recipes-extended/persistence-administrator/persistence-administrator_1.0.5.bb
@@ -28,4 +28,26 @@ SYSTEMD_AUTO_ENABLE = "disable"
do_install_append() {
perl -pi -e 's/dbus-public-bus.service/dbus.service/' \
${D}/lib/systemd/system/pas-daemon.service
+ install -d ${D}/Data
+ install -m 0644 ${S}/test/pers_svc_test/webtool_export/resource2.tar.gz \
+ ${D}/Data
}
+
+#
+# test
+#
+PACKAGES += "${PN}-testenv"
+RDEPENDS_${PN} += "${PN}-testenv"
+
+FILES_${PN} = " \
+ ${sysconfdir}/dbus-1/* \
+ /lib/systemd/* \
+ ${bindir}/pers_admin_svc \
+ ${libdir}/*.so.* \
+ "
+
+FILES_${PN}-testenv = " \
+ ${bindir}/persadmin_tool \
+ ${bindir}/pers_admin_test_framework \
+ /Data/resource2.tar.gz \
+ "