pkgsrc-WIP-changes archive

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

bats-core: Update to 1.3.0



Module Name:	pkgsrc-wip
Committed By:	Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By:	iquiw
Date:		Sat Mar 27 11:33:56 2021 +0900
Changeset:	d3eef79c13cb8e739eaa31ec41349a64eefc7553

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

Log Message:
bats-core: Update to 1.3.0

Added:

* custom test-file extension via BATS_FILE_EXTENSION when searching for
  test
* files in a directory
* TAP13 formatter, including millisecond timing
* automatic release to NPM via Github Actions

  Documentation

  * added documentation about overusing run
  * improved documentation of load

Changed:

* recursive suite mode will follow symlinks now
* split options for (file-) --report-formatter and (stdout) --formatter
  WARNING: This changes the meaning of --formatter junit.
  stdout will now show unified xml instead of TAP. From now on, please use
  --report-formatter junit to obtain the .xml report file!
* removed --parallel-preserve-environment flag, as this is the default
  behavior
* moved CI from Travis/Appveyor to Github Actions
* preprocessed files are no longer removed if --no-tempdir-cleanup is
  specified

  Documentation

  * moved documentation to readthedocs

Fixed:

  Correctness

  * fix internal failures due to unbound variables when test files use set -u
  * fix internal failures due to changes to $PATH in test files
  * fix test duration always being 0 on busybox installs
  * fix hangs on CTRL+C
  * make BATS_TEST_NUMBER count per file again
  * include lib/ in npm package

  Performance

  * don't fork bomb in parallel mode
  * preprocess each file only once
  * avoid running duplicate files n^2 times

  Documentation

  * fix documentation for --formatter junit
  * fix documentation for setup_file variables
  * fix link to examples page
  * fix link to "File Descriptor 3" section

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

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

diffs:
diff --git a/bats-core/Makefile b/bats-core/Makefile
index c9b1a7d110..903ec85e5a 100644
--- a/bats-core/Makefile
+++ b/bats-core/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD$
 
-DISTNAME=		bats-core-1.2.1
+DISTNAME=		bats-core-1.3.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 817c859ac2..2baa5c9152 100644
--- a/bats-core/PLIST
+++ b/bats-core/PLIST
@@ -1,6 +1,8 @@
 @comment $NetBSD$
 bin/bats
+lib/bats-core/formatter.bash
 lib/bats-core/preprocessing.bash
+lib/bats-core/semaphore.bash
 lib/bats-core/test_functions.bash
 lib/bats-core/tracing.bash
 lib/bats-core/validator.bash
@@ -8,9 +10,11 @@ libexec/bats-core/bats
 libexec/bats-core/bats-exec-file
 libexec/bats-core/bats-exec-suite
 libexec/bats-core/bats-exec-test
+libexec/bats-core/bats-format-cat
 libexec/bats-core/bats-format-junit
 libexec/bats-core/bats-format-pretty
 libexec/bats-core/bats-format-tap
+libexec/bats-core/bats-format-tap13
 libexec/bats-core/bats-preprocess
 man/man1/bats.1
 man/man7/bats.7
diff --git a/bats-core/distinfo b/bats-core/distinfo
index 41a6548bfc..2fa199e54f 100644
--- a/bats-core/distinfo
+++ b/bats-core/distinfo
@@ -1,7 +1,7 @@
 $NetBSD: distinfo,v 1.2 2016/09/08 14:34:02 jperkin Exp $
 
-SHA1 (bats-core-1.2.1.tar.gz) = 418ca60af55c339ac7911c74a44f7edf41e3a17c
-RMD160 (bats-core-1.2.1.tar.gz) = a73f4aa8fbfdb42fe06410cd436e30793b1c1290
-SHA512 (bats-core-1.2.1.tar.gz) = 632345e6d83ed930dab23abc03e4797769063bb049ae1bb99e3102dc1e93e5111144ddc61615d05962f7b5bbf72d90ce19a324faf670a3d6e4ce7ab508b0db29
-Size (bats-core-1.2.1.tar.gz) = 62685 bytes
+SHA1 (bats-core-1.3.0.tar.gz) = 1ed04feecd45ed9ea81dc350ac031418b78bd45d
+RMD160 (bats-core-1.3.0.tar.gz) = 8c72c84969773de1cbc9f6b77dd5229231e815e5
+SHA512 (bats-core-1.3.0.tar.gz) = 47f67681b380a70863805691eca39532af76670b7bba2406293c58f95cbbe3dade4f792177ee00d8ca72684731efb6db2c1ca8eeabe2fa48359e81c257f95b2c
+Size (bats-core-1.3.0.tar.gz) = 78392 bytes
 SHA1 (patch-install.sh) = 8d6df7eccf4201b6b12bd94bec91e81a6ed9517c


Home | Main Index | Thread Index | Old Index