summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-graphics/fontconfig/fontconfig_2.13.1.bbappend
blob: dd00646a72b2f2c6a616a97895ff7d6799504378 (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
# Add ptest support
# backport of yocto
#
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI += " \
    file://run-ptest \
    file://ptest.patch \
"

inherit ptest

do_install_ptest() {
    install ${S}/test-driver ${D}${PTEST_PATH}/

    install -d ${D}${PTEST_PATH}/test/
    find ${B}/test/.libs/ -type f -not -name "test-migration" \
        -exec install {} ${D}${PTEST_PATH}/test/ \;
    install ${S}/test/*.pcf ${D}${PTEST_PATH}/test

    # update PTEST_PATH in run-ptest
    sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest
}