From df625750c681365b8ed1fbd746cbe054437395cb Mon Sep 17 00:00:00 2001 From: Kamil Dziezyk Date: Wed, 14 Apr 2021 14:26:15 +0200 Subject: [PATCH] bats: upgrade 1.1.0 -> 1.3.0 Add 'pretty' PACKAGECONFIG option with ncurses runtime dependency. This option allows to display test results with '--formatter pretty|-p' bats command line option. Signed-off-by: Kamil Dziezyk Signed-off-by: Khem Raj --- .../recipes-test/bats/{bats_1.1.0.bb => bats_1.3.0.bb} | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) rename meta-oe/recipes-test/bats/{bats_1.1.0.bb => bats_1.3.0.bb} (75%) diff --git a/meta-oe/recipes-test/bats/bats_1.1.0.bb b/meta-oe/recipes-test/bats/bats_1.3.0.bb similarity index 75% rename from meta-oe/recipes-test/bats/bats_1.1.0.bb rename to meta-oe/recipes-test/bats/bats_1.3.0.bb index a8179744ae..8190a5e3a5 100644 --- a/meta-oe/recipes-test/bats/bats_1.1.0.bb +++ b/meta-oe/recipes-test/bats/bats_1.3.0.bb @@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b" SRC_URI = "git://github.com/bats-core/bats-core.git \ " -# v1.1.0 -SRCREV = "c706d1470dd1376687776bbe985ac22d09780327" +# v1.3.0 +SRCREV = "9086c47854652f2731861b40385689c85f12103f" S = "${WORKDIR}/git" @@ -18,4 +18,8 @@ do_install() { ${S}/install.sh ${D}${prefix} } -RDEPENDS_bats = "bash" +RDEPENDS_${PN} = "bash" +FILES_${PN} += "${libdir}/bats-core/*" + +PACKAGECONFIG ??= "pretty" +PACKAGECONFIG[pretty] = ",,,ncurses"