aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test
diff options
context:
space:
mode:
authorKamil Dziezyk <kamil.dziezyk@arm.com>2021-04-14 14:26:15 +0200
committerKhem Raj <raj.khem@gmail.com>2021-04-15 09:28:43 -0700
commitdf625750c681365b8ed1fbd746cbe054437395cb (patch)
treee06e97f1417bf8ec3784d83b0ec785d10d1dfa8e /meta-oe/recipes-test
parent605cb20bdffa2523a963439b47c21aa23adf5325 (diff)
downloadmeta-openembedded-contrib-df625750c681365b8ed1fbd746cbe054437395cb.tar.gz
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 <kamil.dziezyk@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-test')
-rw-r--r--meta-oe/recipes-test/bats/bats_1.3.0.bb (renamed from meta-oe/recipes-test/bats/bats_1.1.0.bb)10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-oe/recipes-test/bats/bats_1.1.0.bb b/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"