aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend
blob: b971a0e1fd5b317b0adcd4dd95fb82ce2e869307 (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
#
# for testing
#
FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"

SRC_URI_append += " \
    file://0001-disable-sanitizers.patch \
    "

DEPENDS += " gtest"
EXTRA_OECMAKE += " -DBUILD_ILM_API_TESTS=1 -DINSTALL_ILM_API_TESTS=1"

do_install_append() {
   install -d ${D}/opt/tests/${PN}
   mv ${D}/${bindir}/*test ${D}/opt/tests/${PN}
}

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

FILES_${PN}-dbg += " \
   /opt/tests/${PN}/.debug/* \
   "
FILES_${PN}-test = " \
   /opt/tests/${PN}/* \
   "