summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2019-07-16 11:48:41 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-17 09:36:35 +0100
commitd9d208c532a730abc1e0afee399d3bd2f8183cd4 (patch)
treef9cc6fc5847ba62bfb70929ba44d03643924c018 /meta/recipes-devtools/opkg
parent067d475dbba8fd0b471a26cedc1e05309fe4e67c (diff)
downloadpoky-d9d208c532a730abc1e0afee399d3bd2f8183cd4.tar.gz
opkg: make ptest output format align with common style
(From OE-Core rev: 333c2bd397ff3b0ec3e7812e04cb5e077fa59683) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r--meta/recipes-devtools/opkg/opkg_0.4.1.bb5
1 files changed, 5 insertions, 0 deletions
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 () {
61 install -d ${D}${OPKGLIBDIR}/opkg 61 install -d ${D}${OPKGLIBDIR}/opkg
62} 62}
63 63
64do_install_ptest () {
65 sed -i -e '/@echo $^/d' ${D}${PTEST_PATH}/tests/Makefile
66 sed -i -e '/@PYTHONPATH=. $(PYTHON) $^/a\\t@if [ "$$?" != "0" ];then echo "FAIL:"$^;else echo "PASS:"$^;fi' ${D}${PTEST_PATH}/tests/Makefile
67}
68
64RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" 69RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive"
65RDEPENDS_${PN}_class-native = "" 70RDEPENDS_${PN}_class-native = ""
66RDEPENDS_${PN}_class-nativesdk = "" 71RDEPENDS_${PN}_class-nativesdk = ""