pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bats-core: Update to 1.5.0
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Sun Oct 24 15:55:14 2021 +0900
Changeset: fbd1df970095a0d4809fdc303de12b67579d3f4e
Modified Files:
bats-core/Makefile
bats-core/PLIST
bats-core/distinfo
bats-core/patches/patch-install.sh
Log Message:
bats-core: Update to 1.5.0
Added:
* new command line flags
* --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>
* install.sh and uninstall.sh take an optional second parameter for the lib
folder name to allow for multilib install, e.g. into lib64
* add run flag --keep-empty-lines to retain empty lines in ${lines[@]}
* add run flag --separate-stderr which also fills $stderr and
$stderr_lines
Fixed:
* don't glob run's $output when splitting into ${lines[@]}
* remove empty line after test with pretty formatter on some terminals
* don't run setup_file/teardown_file on files without tests, e.g. due to
filtering
* print final line without newline on Bash 3.2 for midtest (ERREXIT) failures
too
* abort with error on missing flock/shlock when running in parallel mode
* improved set -u test and fixed some unset variable accesses
* shorten suite/file/test temporary folder paths to leave enough space even on
restricted systems
Documentation
* minor edits
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fbd1df970095a0d4809fdc303de12b67579d3f4e
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 | 8 ++++----
bats-core/patches/patch-install.sh | 10 +++++-----
4 files changed, 11 insertions(+), 10 deletions(-)
diffs:
diff --git a/bats-core/Makefile b/bats-core/Makefile
index 53be2742a7..3bd326dd55 100644
--- a/bats-core/Makefile
+++ b/bats-core/Makefile
@@ -1,6 +1,6 @@
# $NetBSD$
-DISTNAME= bats-core-1.4.1
+DISTNAME= bats-core-1.5.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 2baa5c9152..d060bad0f1 100644
--- a/bats-core/PLIST
+++ b/bats-core/PLIST
@@ -1,5 +1,6 @@
@comment $NetBSD$
bin/bats
+lib/bats-core/common.bash
lib/bats-core/formatter.bash
lib/bats-core/preprocessing.bash
lib/bats-core/semaphore.bash
diff --git a/bats-core/distinfo b/bats-core/distinfo
index b9511b8e7d..8e7c78f11d 100644
--- a/bats-core/distinfo
+++ b/bats-core/distinfo
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2016/09/08 14:34:02 jperkin Exp $
-RMD160 (bats-core-1.4.1.tar.gz) = 86429672c062f4736d49adaaf7302e31ab853f59
-SHA512 (bats-core-1.4.1.tar.gz) = 3b00af13ac97d38349f09db79179e170e2b37c5364815e0e1fb957e6593a564d291bb50c54776088dd5784ef8cd597f0c332ec3a574bcef65e3083a5f2fc1f0e
-Size (bats-core-1.4.1.tar.gz) = 98964 bytes
-SHA1 (patch-install.sh) = 8d6df7eccf4201b6b12bd94bec91e81a6ed9517c
+RMD160 (bats-core-1.5.0.tar.gz) = 52ddea5615e6facde321ffab09c9224549f3f22b
+SHA512 (bats-core-1.5.0.tar.gz) = e0386fb32214db67ae001a2040c44277988af7fa909a820843237c7d47eedfa4e370238d5b2d06a4667b874cad4b00f2cd14624b1bc45628192e5d693bd5073a
+Size (bats-core-1.5.0.tar.gz) = 108052 bytes
+SHA1 (patch-install.sh) = 482b34ba79587a54220567bc4e104c7071aab1de
diff --git a/bats-core/patches/patch-install.sh b/bats-core/patches/patch-install.sh
index e71096029e..af5bc20b69 100644
--- a/bats-core/patches/patch-install.sh
+++ b/bats-core/patches/patch-install.sh
@@ -2,17 +2,17 @@ $NetBSD$
Change manpages installation directory.
---- install.sh.orig 2020-12-05 05:08:52.331014166 +0000
+--- install.sh.orig 2021-10-22 08:06:36.000000000 +0000
+++ install.sh
-@@ -12,11 +12,11 @@ if [[ -z "$PREFIX" ]]; then
+@@ -13,11 +13,11 @@ if [[ -z "$PREFIX" ]]; then
exit 1
fi
--install -d -m 755 "$PREFIX"/{bin,libexec/bats-core,lib/bats-core,share/man/man{1,7}}
-+install -d -m 755 "$PREFIX"/{bin,libexec/bats-core,lib/bats-core,$PKGMANDIR/man{1,7}}
+-install -d -m 755 "$PREFIX"/{bin,libexec/bats-core,"${LIBDIR}"/bats-core,share/man/man{1,7}}
++install -d -m 755 "$PREFIX"/{bin,libexec/bats-core,"${LIBDIR}"/bats-core,"$PKGMANDIR"/man{1,7}}
install -m 755 "$BATS_ROOT/bin"/* "$PREFIX/bin"
install -m 755 "$BATS_ROOT/libexec/bats-core"/* "$PREFIX/libexec/bats-core"
- install -m 755 "$BATS_ROOT/lib/bats-core"/* "$PREFIX/lib/bats-core"
+ install -m 755 "$BATS_ROOT/lib/bats-core"/* "$PREFIX/${LIBDIR}/bats-core"
-install -m 644 "$BATS_ROOT/man/bats.1" "$PREFIX/share/man/man1"
-install -m 644 "$BATS_ROOT/man/bats.7" "$PREFIX/share/man/man7"
+install -m 644 "$BATS_ROOT/man/bats.1" "$PREFIX/$PKGMANDIR/man1"
Home |
Main Index |
Thread Index |
Old Index