<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-openembedded.git/meta-oe/recipes-test/bats/bats_1.6.0.bb, branch master</title>
<subtitle>Mirror of git.openembedded.org/meta-openembedded</subtitle>
<id>https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-openembedded.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/'/>
<updated>2022-05-16T16:09:47+00:00</updated>
<entry>
<title>bats: upgrade 1.6.0 -&gt; 1.6.1</title>
<updated>2022-05-16T16:09:47+00:00</updated>
<author>
<name>Diego Sueiro</name>
<email>diego.sueiro@arm.com</email>
</author>
<published>2022-05-16T12:28:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=72fbb8379fc47ec77cdcb1c15e992d99d205ced2'/>
<id>urn:sha1:72fbb8379fc47ec77cdcb1c15e992d99d205ced2</id>
<content type='text'>
The 1.6.1 incorporates the
0001-Fix-status-in-teardown-overriding-exit-code.patch backport patch.

Changelog:
==========

Fixed:
------
prevent teardown, teardown_file, and teardown_suite from overriding bats'
exit code by setting $status (e.g. via calling run) (#581, #575)
CRITICAL: this can return exit code 0 despite failed tests, thus preventing
your CI from reporting test failures! The regression happened in version 1.6.0.

Documentation:
--------------
corrected invalid documentation of run -N (had =N instead) (#579)
CRITICAL: using the incorrect form can lead to silent errors. See issue #578
for more details and how to find out if your tests are affected.

Signed-off-by: Diego Sueiro &lt;diego.sueiro@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bats: Add patch to fix false-negatives caused by teardown code</title>
<updated>2022-05-09T20:03:09+00:00</updated>
<author>
<name>Richard Neill</name>
<email>richard.neill@arm.com</email>
</author>
<published>2022-05-09T16:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=408866fe80da9f7d3e85ea34e74e7118d2cd1510'/>
<id>urn:sha1:408866fe80da9f7d3e85ea34e74e7118d2cd1510</id>
<content type='text'>
BATS v1.6.0 has a regression which can result in test case failures being
ignored when teardown code executes successfully. This patch applies the
accepted bug-fix until the next BATS release.

Also, fix a comment that wasn't updated during the BATS upgrade, to match the
correct release (v1.6.0) associated with the SRCREV.

Signed-off-by: Richard Neill &lt;richard.neill@arm.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>bats: upgrade 1.5.0 -&gt; 1.6.0</title>
<updated>2022-03-01T17:13:42+00:00</updated>
<author>
<name>Wang Mingyu</name>
<email>wangmy@fujitsu.com</email>
</author>
<published>2022-02-28T14:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-openembedded.git/commit/?id=76d8e526eae9fc9ab14ff5804ae0091230a8b39e'/>
<id>urn:sha1:76d8e526eae9fc9ab14ff5804ae0091230a8b39e</id>
<content type='text'>
Changelog:
=========
Added:
-----
new flag --code-quote-style (and $BATS_CODE_QUOTE_STYLE) to customize
quotes around code blocks in error output (#506)
an example/regression test for running background tasks without blocking the
test run (#525, #535)
bats_load_library for loading libraries from the search path
$BATS_LIB_PATH (#548)

Fixed:
-----
improved error trace for some broken cases (#279)
removed leftover debug file /tmp/latch in selftest suite
(single use latch) (#516)
fix recurring errors on CTRL+C tests with NPM on Windows in selftest suite (#516)
fixed leaking of local variables from debug trap (#520)
don't mark FD3 output from teardown_file as &lt;failure&gt; in junit output (#532)
fix unbound variable error with Bash pre 4.4 (#550)

Documentation:
--------------
remove links to defunct freenode IRC channel (#515)
improved grammar (#534)
fixed link to TAP spec (#537)

Signed-off-by: Wang Mingyu &lt;wangmy@fujitsu.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
</feed>
