pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/shunit2
Module Name: pkgsrc
Committed By: schmonz
Date: Tue Feb 14 15:08:42 UTC 2023
Modified Files:
pkgsrc/devel/shunit2: Makefile distinfo
Log Message:
Update to 2.1.8. From the changelog:
# New features
Users can now define a custom prefix for test function names. The prefix
can be configured by defining a `SHUNIT_TEST_PREFIX` variable.
Colorized output, based on popular demand. shUnit2 output is now
colorized based on the result of the asserts.
# Changes and Enhancements
Shell commands in shUnit2 are prefixed with '\' so that they can be
stubbed in tests.
# Bug fixes
Syntax errors in functions are now treated as test failures.
Test now fail when `setup()` or `tearDown()` fail.
shUnit2 no longer exits with an 'OK' result if there were syntax errors
due to incorrect usage of the assert commands.
# Known bugs and issues
Zsh requires the `shwordsplit` option to be set. See the documentation
for examples of how to do this.
Line numbers in assert messages do not work properly with BASH 2.x.
The Bourne shell of Solaris, BASH 2.x, and Zsh 3.0.x do not properly
catch the SIGTERM signal. As such, shell interpreter failures due to
such things as unbound variables cannot be caught. (See
`shunit_test_misc.sh`)
shUnit2 does not work when the `-e` shell option is set (typically done
with `set -e`).
# Tested platforms
Tested OSes:
- Linux
- macOS
Tested shells:
- /bin/sh
- ash
- bash
- dash
- ksh
- pdksh
- zsh
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/shunit2/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/shunit2/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/shunit2/Makefile
diff -u pkgsrc/devel/shunit2/Makefile:1.1 pkgsrc/devel/shunit2/Makefile:1.2
--- pkgsrc/devel/shunit2/Makefile:1.1 Tue Jul 4 10:06:56 2017
+++ pkgsrc/devel/shunit2/Makefile Tue Feb 14 15:08:42 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.1 2017/07/04 10:06:56 jperkin Exp $
+# $NetBSD: Makefile,v 1.2 2023/02/14 15:08:42 schmonz Exp $
-DISTNAME= shunit2-2.1.6
+DISTNAME= shunit2-2.1.8
CATEGORIES= devel
-MASTER_SITES= https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/shunit2/
-EXTRACT_SUFX= .tgz
+MASTER_SITES= ${MASTER_SITE_GITHUB:=kward/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/kward/shunit2
@@ -17,6 +17,6 @@ NO_BUILD= yes
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/src/shunit2 ${DESTDIR}${PREFIX}/bin/shunit2
+ ${INSTALL_SCRIPT} ${WRKSRC}/shunit2 ${DESTDIR}${PREFIX}/bin/shunit2
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/shunit2/distinfo
diff -u pkgsrc/devel/shunit2/distinfo:1.3 pkgsrc/devel/shunit2/distinfo:1.4
--- pkgsrc/devel/shunit2/distinfo:1.3 Tue Oct 26 10:19:55 2021
+++ pkgsrc/devel/shunit2/distinfo Tue Feb 14 15:08:42 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:19:55 nia Exp $
+$NetBSD: distinfo,v 1.4 2023/02/14 15:08:42 schmonz Exp $
-BLAKE2s (shunit2-2.1.6.tgz) = cdec7f302931676a220c2104049a7a681292ee553cf0f6516833abc3e0eefeaa
-SHA512 (shunit2-2.1.6.tgz) = c78cf349d72a9048e4932108a62b2d1873019b9b1909c3fb1bd7e873e7bb62df58c1941d916508dc60ef6ba0261a2bc6ee9e25d654eefdcce997682f2bc748d7
-Size (shunit2-2.1.6.tgz) = 61558 bytes
+BLAKE2s (shunit2-2.1.8.tar.gz) = bb8d0ab4a89d8d3cd756eaaa7c4cf7a2c5754a7b4df40d26e34bea93eac597bc
+SHA512 (shunit2-2.1.8.tar.gz) = 15aaf28996c9fb5ee5419f63b50013a194a7416dea04eb34eae2481f05e0580bd2c6977ad002b421e2785e2024978fda869cad1ef4125857c2a5ea21bf44a06e
+Size (shunit2-2.1.8.tar.gz) = 52458 bytes
Home |
Main Index |
Thread Index |
Old Index