summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Dziezyk <kamil.dziezyk@arm.com>2021-04-14 14:26:15 +0200
committerArmin Kuster <akuster808@gmail.com>2021-04-17 06:47:18 -0700
commit650bdf68890a51bb7fd39779b5eec91616a17951 (patch)
tree9a01fa19036e30bfaec3f132be897d34cf4abf32
parent6b937081d958749b0b404af6bfd67a9bf9f985d0 (diff)
downloadmeta-openembedded-650bdf68890a51bb7fd39779b5eec91616a17951.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> (cherry picked from commit df625750c681365b8ed1fbd746cbe054437395cb) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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"
8 8
9SRC_URI = "git://github.com/bats-core/bats-core.git \ 9SRC_URI = "git://github.com/bats-core/bats-core.git \
10 " 10 "
11# v1.1.0 11# v1.3.0
12SRCREV = "c706d1470dd1376687776bbe985ac22d09780327" 12SRCREV = "9086c47854652f2731861b40385689c85f12103f"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
@@ -18,4 +18,8 @@ do_install() {
18 ${S}/install.sh ${D}${prefix} 18 ${S}/install.sh ${D}${prefix}
19} 19}
20 20
21RDEPENDS_bats = "bash" 21RDEPENDS_${PN} = "bash"
22FILES_${PN} += "${libdir}/bats-core/*"
23
24PACKAGECONFIG ??= "pretty"
25PACKAGECONFIG[pretty] = ",,,ncurses"