diff options
Diffstat (limited to 'meta-agl-test/recipes-support/lz4/lz4_%.bbappend')
-rw-r--r-- | meta-agl-test/recipes-support/lz4/lz4_%.bbappend | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-agl-test/recipes-support/lz4/lz4_%.bbappend b/meta-agl-test/recipes-support/lz4/lz4_%.bbappend new file mode 100644 index 00000000..eff14bb3 --- /dev/null +++ b/meta-agl-test/recipes-support/lz4/lz4_%.bbappend @@ -0,0 +1,26 @@ +# Add ptest support +# backport of yocto +# http://cgit.openembedded.org/openembedded-core/commit/?id=2ee144a0bfb88823bfa788697bb7afc9a572c413 +# +FILESEXTRAPATHS:prepend := "${THISDIR}/files:" + +SRC_URI += " \ + file://run-ptest \ +" + +inherit ptest + +RDEPENDS:${PN}-ptest += "bash" + +do_compile_ptest() { + oe_runmake -C ${B}/tests/ +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests/ + install --mode=755 ${B}/tests/frametest ${D}${PTEST_PATH}/tests/ + sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/run-ptest + +} + + |