From: Changqing Li Date: Tue, 16 Jul 2019 03:48:41 +0000 (+0800) Subject: opkg: make ptest output format align with common style X-Git-Tag: uninative-2.7~775 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=333c2bd397ff3b0ec3e7812e04cb5e077fa59683;p=openembedded-core.git opkg: make ptest output format align with common style Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/opkg/opkg_0.4.1.bb b/meta/recipes-devtools/opkg/opkg_0.4.1.bb index 8c48d3097c..663eaec346 100644 --- a/meta/recipes-devtools/opkg/opkg_0.4.1.bb +++ b/meta/recipes-devtools/opkg/opkg_0.4.1.bb @@ -61,6 +61,11 @@ do_install_append () { install -d ${D}${OPKGLIBDIR}/opkg } +do_install_ptest () { + sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile + sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile +} + RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" RDEPENDS_${PN}_class-native = "" RDEPENDS_${PN}_class-nativesdk = ""