pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bats-core: Update to 1.8.0
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Sun Sep 18 15:55:43 2022 +0900
Changeset: 72b795f1fb949eabfe21373f3d075b5adc2095a1
Modified Files:
bats-core/Makefile
bats-core/distinfo
bats-core/patches/patch-test_install.bats
Log Message:
bats-core: Update to 1.8.0
Added:
* using external formatters via --formatter <absolute path> (also works for
--report-formatter)
* running only tests that failed in the last run via --filter-status
failed
* variable BATS_TEST_RETRIES that specifies how often a test should be
reattempted before it is considered failed
* Docker tags latest-no-faccessat2 and <bats-version\>-no-faccessat2 for
avoiding bash: bats: No such file or directory on docker<20.10 (or
runc<v1.0.0-rc93)
* BATS_TEST_TIMEOUT variable to force a timeout on test (including
setup()) (#491) also print (nonempty) $stderr (from run --separate-stderr)
with --print-output-on-failure
* # bats test_tags=<tag list>/# bats file_tags=<tag list> and --filter-tags
<tag list> for tagging tests for execution filters
* warning BW03: inform about setup_suite in wrong file (.bats instead of
setup_suite.bash)
Documentation
* update gotcha about negated statements: Recommend using run ! on Bats
versions >=1.5.0
* add documentation for bats_require_minimum_version
* improve documentation about setup_suite
Fixed:
* added missing shebang
* remaining instances of run -<N> being incorrectly documented as run
=<N>
* allow --gather-test-outputs-in <directory> to work with existing, empty
directories
* also add --clean-and-gather-test-outputs-in <directory> for improved UX
* double slashes in paths derived from TMPDIR on MacOS
* fix load in teardown marking failed tests as not run
* fix unset variable errors (with set -u) and add regression test
* teardown_file errors don't swallow setup_file errors anymore, the
behavior is more like teardown's now (only return/last command can trigger
teardown errors)
* upgraded from deprecated CI envs for MacOS (10 -> 11,12) and
Ubuntu (18.04 -> 22.04)
* add /usr/lib/bats as default value for BATS_LIB_PATH
* fix unset variable in bats-formatter-junit when setup_file fails
* unify error behavior of teardown/teardown_file/teardown_suite functions:
only fail via return code, not via ERREXIT
* fix unbound variable errors with set -u on setup_suite failures
* fix load not being available in setup_suite
* fix RPM spec, add regression test
* fix handling of IFS by run
* only print setup_suite's stderr on errors
Documentation
* fix typos, spelling and links
* fix redirection order of an example in the tutorial
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=72b795f1fb949eabfe21373f3d075b5adc2095a1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bats-core/Makefile | 2 +-
bats-core/distinfo | 8 ++++----
bats-core/patches/patch-test_install.bats | 6 +++---
3 files changed, 8 insertions(+), 8 deletions(-)
diffs:
diff --git a/bats-core/Makefile b/bats-core/Makefile
index 7335dadcb4..93c10dcafe 100644
--- a/bats-core/Makefile
+++ b/bats-core/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= bats-core-1.7.0
+DISTNAME= bats-core-1.8.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=bats-core/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/bats-core/distinfo b/bats-core/distinfo
index 613dbb0993..7aeb80c2a6 100644
--- a/bats-core/distinfo
+++ b/bats-core/distinfo
@@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.2 2016/09/08 14:34:02 jperkin Exp $
-BLAKE2s (bats-core-1.7.0.tar.gz) = 6306c899945f89822f3ea9b9ef5d301238fc984dc711adeca564410c531239c7
-SHA512 (bats-core-1.7.0.tar.gz) = 22ca033e004087cabf645417ea184d2e1a0704575f702a94de5b63b3af6d1fd4caaecad86a5cb49687c606728d875dd13b4d5de66599b83324980fdc71cb92e2
-Size (bats-core-1.7.0.tar.gz) = 124590 bytes
+BLAKE2s (bats-core-1.8.0.tar.gz) = 344649bf13d314ed181b8a2dc6db55a8124cae8af2f655c79d17135dc760559e
+SHA512 (bats-core-1.8.0.tar.gz) = e51ea85bf2f455881a90220d783b4a261bd91331326a7184eb31ea9adf31c18a79a062fd77af12d082ccef953d992382ec19ca9a27395b2a03c4a9a120bdda76
+Size (bats-core-1.8.0.tar.gz) = 144262 bytes
SHA1 (patch-install.sh) = 482b34ba79587a54220567bc4e104c7071aab1de
SHA1 (patch-libexec_bats-core_bats) = ba322d4d3085030a07f6683e692ab26573d8a98d
-SHA1 (patch-test_install.bats) = c93f9f3b166ab17fc7bdec1dfddabb1527173e21
+SHA1 (patch-test_install.bats) = 669253c1cf8fa3e8a76f132e6da21ab7e8e79844
diff --git a/bats-core/patches/patch-test_install.bats b/bats-core/patches/patch-test_install.bats
index 8ead75da24..0e6bd4289b 100644
--- a/bats-core/patches/patch-test_install.bats
+++ b/bats-core/patches/patch-test_install.bats
@@ -2,7 +2,7 @@ $NetBSD$
Use $PKGMANDIR to check installation of man files.
---- test/install.bats.orig 2022-02-24 14:27:24.000000000 +0000
+--- test/install.bats.orig 2022-09-14 23:35:50.000000000 +0000
+++ test/install.bats
@@ -29,8 +29,8 @@ setup() {
[ -x "$INSTALL_DIR/libexec/bats-core/bats-format-junit" ]
@@ -13,7 +13,7 @@ Use $PKGMANDIR to check installation of man files.
+ [ -f "$INSTALL_DIR/$PKGMANDIR/man1/bats.1" ]
+ [ -f "$INSTALL_DIR/$PKGMANDIR/man7/bats.7" ]
- run "$INSTALL_DIR/bin/bats" -v
+ reentrant_run "$INSTALL_DIR/bin/bats" -v
[ "$status" -eq 0 ]
@@ -52,8 +52,8 @@ setup() {
[ ! -x "$INSTALL_DIR/libexec/bats-core/bats-format-pretty" ]
@@ -35,7 +35,7 @@ Use $PKGMANDIR to check installation of man files.
+ [ -f "$INSTALL_DIR/$PKGMANDIR/man1/bats.1" ]
+ [ -f "$INSTALL_DIR/$PKGMANDIR/man7/bats.7" ]
- run "$INSTALL_DIR/bin/bats" -v
+ reentrant_run "$INSTALL_DIR/bin/bats" -v
[ "$status" -eq 0 ]
@@ -98,8 +98,8 @@ setup() {
[ ! -x "$INSTALL_DIR/libexec/bats-core/bats-format-pretty" ]
Home |
Main Index |
Thread Index |
Old Index