From d13bea04814d98331a8638f4918d6f04d3004840 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Sat, 4 Mar 2023 19:03:15 +0800 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-test/bats/bats_1.8.2.bb | 33 --------------------------------- meta-oe/recipes-test/bats/bats_1.9.0.bb | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 33 deletions(-) delete mode 100644 meta-oe/recipes-test/bats/bats_1.8.2.bb create mode 100644 meta-oe/recipes-test/bats/bats_1.9.0.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-test/bats/bats_1.8.2.bb b/meta-oe/recipes-test/bats/bats_1.8.2.bb deleted file mode 100644 index 74e683e589..0000000000 --- a/meta-oe/recipes-test/bats/bats_1.8.2.bb +++ /dev/null @@ -1,33 +0,0 @@ -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.7.0 -SRCREV = "e8c840b58f0833e23461c682655fe540aa923f85" - -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" diff --git a/meta-oe/recipes-test/bats/bats_1.9.0.bb b/meta-oe/recipes-test/bats/bats_1.9.0.bb new file mode 100644 index 0000000000..a642d7cf5d --- /dev/null +++ b/meta-oe/recipes-test/bats/bats_1.9.0.bb @@ -0,0 +1,33 @@ +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" -- cgit v1.2.3-54-g00ecf