From a4c152a35be7689ce01e936d6e44e9c5fad675a1 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 10 Jun 2025 11:32:28 +0800 Subject: bats: upgrade 1.11.1 -> 1.12.0 Changelog: =========== - bats::on_failure hook that gets called when a test or setup* function fails - increase compatibility with Solaris - fix noclobber breaking bats-gather-tests - fix exiting with 0 despite bats:focus when all tests have been filtered out - remove deprecated ubuntu 20.04 from CI config - Fix hyperlink to external Bash resource - Remove mentions to no longer existing find_library_load_path in - lib/bats-core docstrings - Add missing "status" word in --returned-status documentation Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-oe/recipes-test/bats/bats_1.11.1.bb | 34 -------------------------------- meta-oe/recipes-test/bats/bats_1.12.0.bb | 34 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 34 deletions(-) delete mode 100644 meta-oe/recipes-test/bats/bats_1.11.1.bb create mode 100644 meta-oe/recipes-test/bats/bats_1.12.0.bb (limited to 'meta-oe/recipes-test') diff --git a/meta-oe/recipes-test/bats/bats_1.11.1.bb b/meta-oe/recipes-test/bats/bats_1.11.1.bb deleted file mode 100644 index 82f57e51b1..0000000000 --- a/meta-oe/recipes-test/bats/bats_1.11.1.bb +++ /dev/null @@ -1,34 +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." -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.10.0 -SRCREV = "b640ec3cf2c7c9cfc9e6351479261186f76eeec8" - -S = "${WORKDIR}/git" - -# Numerous scripts assume ${baselib} == lib, which is not true. -# -do_configure:prepend() { - for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do - sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f - done -} - -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.12.0.bb b/meta-oe/recipes-test/bats/bats_1.12.0.bb new file mode 100644 index 0000000000..ae59a27dc9 --- /dev/null +++ b/meta-oe/recipes-test/bats/bats_1.12.0.bb @@ -0,0 +1,34 @@ +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." +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.12.0 +SRCREV = "713504bc0224a19b3d7c7958c18dc07f64f54b44" + +S = "${WORKDIR}/git" + +# Numerous scripts assume ${baselib} == lib, which is not true. +# +do_configure:prepend() { + for f in ${S}/libexec/bats-core/* ${S}/lib/bats-core/* ; do + sed -i 's:\$BATS_ROOT/lib/:\$BATS_ROOT/${baselib}/:g' $f + done +} + +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