Files
meta-openembedded/meta-oe/recipes-test/bats/bats_1.9.0.bb
Wang Mingyu d13bea0481 bats: upgrade 1.8.2 -> 1.9.0
Added:
=======
-add installation instructions for Debian, Fedora, Gentoo, and OpenSUSE (#659)
-add --line-reference-format to switch file/line references in stack traces (#665)
 comma_line (default): file.bats, line 1
 colon: file.bats:1
 uri: file:///path/to/file.bats:1
 custom: define your own formatter in bats_format_file_line_reference_custom
-add bats:focus tag to run only focused tests (#679)
-add bats-support, bats-assert, bats-file and bats-detik to Dockerfile (#674)

Documentation:
==============
-add --help text and man page content for --filter-tags (#679)
-improved clarity of section about output in free code (#671)
-fixed typos (#673)
-clarify use cases of run (#366)

Fixed:
=======
-explicitly check for GNU parallel (#691)
-wait for report-formatter to finish before ending bats' execution,
 to fix empty files with --report-fomatter junit under Docker (#692)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-04 10:41:27 -08:00

34 lines
1.1 KiB
BlitzBasic

SUMMARY = "Bash Automated Testing System"
DESCRIPTION = "Bats is a TAP-compliant testing framework for Bash. It \
provides a simple way to verify that the UNIX programs you write behave as expected."
AUTHOR = "Sam Stephenson & bats-core organization"
HOMEPAGE = "https://github.com/bats-core/bats-core"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
SRC_URI = "\
git://github.com/bats-core/bats-core.git;branch=master;protocol=https \
"
# v1.9.0
SRCREV = "6636e2c2ef5ffe361535cb45fc61682c5ef46b71"
S = "${WORKDIR}/git"
do_configure:prepend() {
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-file
sed -i 's:\$BATS_ROOT/lib:\$BATS_ROOT/${baselib}:g' ${S}/libexec/bats-core/bats-exec-test
}
do_install() {
# Just a bunch of bash scripts to install
${S}/install.sh ${D}${prefix} ${baselib}
}
RDEPENDS:${PN} = "bash"
FILES:${PN} += "${libdir}/bats-core/*"
PACKAGECONFIG ??= "pretty"
PACKAGECONFIG[pretty] = ",,,ncurses"