Skip to content

Commit f16f628

Browse files
wangmingyu84kraj
authored andcommitted
bats: upgrade 1.4.1 -> 1.5.0
0001-install.sh-consider-multilib.patch removed since it is included in 1.5.0 Changelog: Issues for this release <https://github.com/bats-core/bats-core/pull/####> ========= Added: --------- new command line flags (openembedded#488) --verbose-run: Make run print $output by default -x, --trace: Print test commands as they are executed (like set -x)` --show-output-of-passing-tests: Print output of passing tests --print-output-on-failure: Automatically print the value of $output on failed tests --gather-test-outputs-in <directory>: Gather the output of failing and passing tests as files in directory Experimental: add return code checks to run via !/-<N> (openembedded#367, openembedded#507) install.sh and uninstall.sh take an optional second parameter for the lib folder name to allow for multilib install, e.g. into lib64 (openembedded#452) add run flag --keep-empty-lines to retain empty lines in ${lines[@]} (openembedded#224, a894fbf) add run flag --separate-stderr which also fills $stderr and $stderr_lines (openembedded#47, 5c9b173d, openembedded#507) Fixed: --------- don't glob run's $output when splitting into ${lines[@]} (openembedded#151, openembedded#152, openembedded#158, openembedded#156, openembedded#281, openembedded#289) remove empty line after test with pretty formatter on some terminals (openembedded#481) don't run setup_file/teardown_file on files without tests, e.g. due to filtering (openembedded#484) print final line without newline on Bash 3.2 for midtest (ERREXIT) failures too (openembedded#495, openembedded#145) abort with error on missing flock/shlock when running in parallel mode (openembedded#496) improved set -u test and fixed some unset variable accesses (openembedded#498, openembedded#501) shorten suite/file/test temporary folder paths to leave enough space even on restricted systems (openembedded#503) Signed-off-by: Wang Mingyu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
1 parent cf08dec commit f16f628

File tree

2 files changed

+2
-47
lines changed

2 files changed

+2
-47
lines changed

meta-oe/recipes-test/bats/bats_1.4.1.bb renamed to meta-oe/recipes-test/bats/bats_1.5.0.bb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@ HOMEPAGE = "https://github.com/bats-core/bats-core"
66
LICENSE = "MIT"
77
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=2970203aedf9e829edb96a137a4fe81b"
88

9-
SRC_URI = "git://github.com/bats-core/bats-core.git;branch=master;protocol=https \
10-
file://0001-install.sh-consider-multilib.patch \
11-
"
9+
SRC_URI = "git://github.com/bats-core/bats-core.git;branch=master;protocol=https"
1210
# v1.4.1
13-
SRCREV = "54e965fa9d269c2b3ff9036d81f32bac3df0edea"
11+
SRCREV = "99d64eb017abcd6a766dd0d354e625526da69cb3"
1412

1513
S = "${WORKDIR}/git"
1614

meta-oe/recipes-test/bats/files/0001-install.sh-consider-multilib.patch

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)