[OE-core] [PATCH] opkg: add ptest
Alejandro Del Castillo
alejandro.delcastillo at ni.com
Tue Apr 9 20:48:19 UTC 2019
On 4/8/19 2:20 PM, Burton, Ross wrote:
> 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 ;)
At first glance, it looked a bit odd to add a ptest specific target
(install-ptest) to opkg. But I can see other components do that (gdbm,
libxml). And give that opkg primary client is OE, then it should be OK.
I'll add the install-ptest to opkg and will send a v2 soon.
--
Cheers,
Alejandro
More information about the Openembedded-core
mailing list