aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-extended/node-state-manager/node-state-manager_%.bbappend
blob: 15b86d684e86501e2571c84a43a1cb9ee72b1ed3 (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
27
28
#
# for test
#
do_compile_append() {
   make -C NodeStateMachineTest
}

do_install_append() {
   install -d ${D}/opt/tests/${PN}/lib
   install -m 0755 ${S}/NodeStateMachineTest/NodeStateTest ${D}/opt/tests/${PN}
   install -m 0644 ${S}/NodeStateMachineTest/org.genivi.NodeStateMachineTest.xml \
     ${D}${datadir}/dbus-1/interfaces/
   install -m 0755 ${S}/NodeStateMachineTest/.libs/libNodeStateMachineTest.so \
     ${D}/opt/tests/${PN}/lib
}

PACKAGES += "${PN}-test"
DEPENDS_${PN}-test = "${PN}"

FILES_${PN}-dbg += " \
   /opt/tests/${PN}/.debug/* \
   /opt/tests/${PN}/lib/.debug/* \
   "
FILES_${PN}-test = " \
   /opt/tests/${PN}/* \
   /opt/tests/${PN}/lib/libNodeStateMachineTest.so \
   ${datadir}/dbus-1/interfaces/org.genivi.NodeStateMachineTest.xml \
   "