pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bats-core: Update to 1.7.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sun May 15 10:10:17 2022 +0900
Changeset:	631605384f8e083b162a794e2e60c6517220aaab

Modified Files:
	bats-core/Makefile
	bats-core/PLIST
	bats-core/distinfo

Log Message:
bats-core: Update to 1.7.0

Added:

* Pretty formatter print filename when entering file
* BATS_TEST_NAME_PREFIX allows prefixing test names on stdout and in
reports
* setup_suite and teardown_suite
* out-of-band warning infrastructure, with following warnings:
  * BW01: run command not found (exit code 127)
  * BW02: run uses flags without proper bats_require_minimum_version guard
* bats_require_minimum_version to guard code that would not run on older
versions

Documentation

* document $BATS_VERSION
* document new warning infrastructure

Fixed:

* unbound variable errors in formatters when using
SHELLOPTS=nounset (-u)
* don't require flock and shlock for parallel mode test
* print name of failing test when using TAP13 with timing
information
* removed broken symlink, added regression test
* don't show empty lines as # with pretty formatter
* prevent teardown, teardown_file, and teardown_suite from overriding bats'
* exit code by setting $status (e.g. via calling run)
  * 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.
* run --keep-empty-lines now reports 0 lines on empty $output

Documentation

* remove 2018 in title, update copyright dates in README.md
* fix broken links
* corrected invalid documentation of run -N (had =N instead)
  * CRITICAL: using the incorrect form can lead to silent errors.
  * details and how to find out if your tests are affected.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=631605384f8e083b162a794e2e60c6517220aaab

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/PLIST    | 1 +
 bats-core/distinfo | 6 +++---
 3 files changed, 5 insertions(+), 4 deletions(-)

diffs:
diff --git a/bats-core/Makefile b/bats-core/Makefile
index 2b5e11a23d..7335dadcb4 100644
--- a/bats-core/Makefile
+++ b/bats-core/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=		bats-core-1.6.0
+DISTNAME=		bats-core-1.7.0
 CATEGORIES=		devel
 MASTER_SITES=		${MASTER_SITE_GITHUB:=bats-core/}
 GITHUB_TAG=		v${PKGVERSION_NOREV}
diff --git a/bats-core/PLIST b/bats-core/PLIST
index d060bad0f1..950f93090a 100644
--- a/bats-core/PLIST
+++ b/bats-core/PLIST
@@ -7,6 +7,7 @@ lib/bats-core/semaphore.bash
 lib/bats-core/test_functions.bash
 lib/bats-core/tracing.bash
 lib/bats-core/validator.bash
+lib/bats-core/warnings.bash
 libexec/bats-core/bats
 libexec/bats-core/bats-exec-file
 libexec/bats-core/bats-exec-suite
diff --git a/bats-core/distinfo b/bats-core/distinfo
index b54cdd165a..613dbb0993 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.6.0.tar.gz) = add1bde3f78b8b2728eb44f08cd70b67d98e3748722d48236becfb5eaad054cf
-SHA512 (bats-core-1.6.0.tar.gz) = b5477d83339294651341734fa2eea54e73ca35e198260eab80cf3313b20904550e57b3471471fd3abfe0c4e02e360c713a87b3ee5e14468d89f3257445e6bb35
-Size (bats-core-1.6.0.tar.gz) = 116367 bytes
+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
 SHA1 (patch-install.sh) = 482b34ba79587a54220567bc4e104c7071aab1de
 SHA1 (patch-libexec_bats-core_bats) = ba322d4d3085030a07f6683e692ab26573d8a98d
 SHA1 (patch-test_install.bats) = c93f9f3b166ab17fc7bdec1dfddabb1527173e21


Home | Main Index | Thread Index | Old Index