diff options
author | Changqing Li <changqing.li@windriver.com> | 2019-07-16 11:48:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-17 09:36:35 +0100 |
commit | d9d208c532a730abc1e0afee399d3bd2f8183cd4 (patch) | |
tree | f9cc6fc5847ba62bfb70929ba44d03643924c018 | |
parent | 067d475dbba8fd0b471a26cedc1e05309fe4e67c (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.4.1.bb | 5 |
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 | ||
64 | do_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 | |||
64 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" | 69 | RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-arch-config libarchive" |
65 | RDEPENDS_${PN}_class-native = "" | 70 | RDEPENDS_${PN}_class-native = "" |
66 | RDEPENDS_${PN}_class-nativesdk = "" | 71 | RDEPENDS_${PN}_class-nativesdk = "" |