[OE-core] [PATCH] opkg: add ptest

Burton, Ross ross.burton at intel.com
Mon Apr 8 19:20:33 UTC 2019


On Mon, 8 Apr 2019 at 20:03, Alejandro del Castillo
<alejandro.delcastillo at ni.com> wrote:
> +do_install_ptest() {
> +       install -d ${D}${PTEST_PATH}
> +       install -m 755 ${WORKDIR}/run-ptest ${D}/${PTEST_PATH}/run-ptest
> +       install -m 755 ${B}/Makefile ${D}${PTEST_PATH}/Makefile
> +       sed -i -e 's,^Makefile:,_Makefile:,' ${D}/${PTEST_PATH}/Makefile
> +       cp -r ${S}/tests ${D}${PTEST_PATH}
> +       sed -i -e 's,^opkgcl = os.path.realpath("../src/opkg"),opkgcl="${bindir}/opkg",' ${D}/${PTEST_PATH}/tests/cfg.py
> +}

You're the maintainer of opkg, just add an install target for the test suite ;)

Ross


More information about the Openembedded-core mailing list