summaryrefslogtreecommitdiff
path: root/Yocto/persistence-client-library-test/persistence-client-library.bbappend
blob: 641bc722406308d8477150541b096f37af022489 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##################################################
#  Project         Persistence Management - PCL
#  (c) copyright   2014
#  Company         XS Embedded GmbH
##################################################

EXTRA_OECONF += "--enable-tests"

do_install_append() {
   echo "do_install_append() > persistence-client-library.bbappend"
   install -d ${D}/usr/bin
   install -m 0755 ${S}/test/.libs/persistence_client_library_dbus_test ${D}${bindir}
   install -m 0755 ${S}/test/.libs/persistence_client_library_test      ${D}${bindir}
   install -d ${D}/Data
   install -m 0644 ${S}/test/data/Data.tar.gz                           ${D}/Data
}

PACKAGES += "${PN}-testenv"
RDEPENDS_${PN} += "${PN}-testenv"

FILES_${PN}-testenv = " \
   ${bindir}/persistence_client_library_dbus_test \
   ${bindir}/persistence_client_library_test \
   /Data/Data.tar.gz \
"