pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/atf Updated atf to 0.21.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1b9485cd744b
branches: trunk
changeset: 358880:1b9485cd744b
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Feb 22 11:46:58 2017 +0000
description:
Updated atf to 0.21.
Add test target.
Changes in version 0.21
***********************
Released on October 23rd, 2014.
* Restored the atf(7) manual page to serve as a reference to all the other
manual pages shipped by ATF.
* Added the -s flag to atf-sh to support specifying the shell interpreter
to be used.
* Removed ATF_WORKDIR. The only remaining consumers have been converted to
use the standard TMPDIR environment variable. As a benefit, and because
Kyua forces the TMPDIR to live within the test case's work directory,
any stale files left behind by ATF will be automatically cleaned up.
* Documented the environment variables recognized by each component in the
relevant manual pages. This information was lost with the atf-config(1)
removal.
* Added a new "require.diskspace" metadata property to test cases so that
they can specify the minimum amount of disk space required for the test
to run.
* Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for
discoverability purposes. Symbolic links are provided for the time
being to still make the old names visible.
* Issue #5: Recommend the (expected, actual) idiom for calls to the test
macros in the manual pages.
* Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This
propagates the crash to the caller, which in turn allows it to obtain
proper debugging information. In particular, Kyua should now be able to
extract a stacktrace pinpointing the problem.
* Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang
that ships with FreeBSD 11.0-CURRENT.
* Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better
explaining how they relate to each other.
* Issue #14: Stopped setting 'set -e' in atf-sh. This setting was
initially added as a way to enable a "strict" mode in the library and to
make test cases fail fast when they run unprotected commands. However,
doing so in the library is surprising as the responsibility of enabling
'set -e' should be on the user's code. Also, 'set -e' introduces
inconsistent behavior on subshells and users do not expect that.
* Issue #15: Fixed atf_utils_{fork,wait} to support nested calls.
* Issue #16: Fixed test failures (by removing a long-standing hack) on
systems that lack \e support in printf(1).
* Issue #19: Removed stale references to atf-config and atf-run.
diffstat:
devel/atf/Makefile | 7 ++++---
devel/atf/PLIST | 11 +++++------
devel/atf/distinfo | 10 +++++-----
3 files changed, 14 insertions(+), 14 deletions(-)
diffs (95 lines):
diff -r 9de322d53692 -r 1b9485cd744b devel/atf/Makefile
--- a/devel/atf/Makefile Wed Feb 22 11:44:46 2017 +0000
+++ b/devel/atf/Makefile Wed Feb 22 11:46:58 2017 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2016/04/27 04:20:10 mef Exp $
-#
+# $NetBSD: Makefile,v 1.26 2017/02/22 11:46:58 wiz Exp $
-DISTNAME= atf-0.20
+DISTNAME= atf-0.21
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}
GITHUB_RELEASE= ${DISTNAME}
@@ -23,4 +22,6 @@
PKGCONFIG_OVERRIDE+= atf-c++/atf-c++.pc.in
PKGCONFIG_OVERRIDE+= atf-sh/atf-sh.pc.in
+TEST_TARGET= check
+
.include "../../mk/bsd.pkg.mk"
diff -r 9de322d53692 -r 1b9485cd744b devel/atf/PLIST
--- a/devel/atf/PLIST Wed Feb 22 11:44:46 2017 +0000
+++ b/devel/atf/PLIST Wed Feb 22 11:46:58 2017 +0000
@@ -1,16 +1,14 @@
-@comment $NetBSD: PLIST,v 1.19 2014/02/08 15:54:58 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.20 2017/02/22 11:46:58 wiz Exp $
bin/atf-sh
include/atf-c++.hpp
include/atf-c++/build.hpp
include/atf-c++/check.hpp
-include/atf-c++/config.hpp
include/atf-c++/macros.hpp
include/atf-c++/tests.hpp
include/atf-c++/utils.hpp
include/atf-c.h
include/atf-c/build.h
include/atf-c/check.h
-include/atf-c/config.h
include/atf-c/defs.h
include/atf-c/error.h
include/atf-c/error_fwd.h
@@ -28,9 +26,13 @@
man/man1/atf-sh.1
man/man1/atf-test-program.1
man/man3/atf-c++-api.3
+man/man3/atf-c++.3
man/man3/atf-c-api.3
+man/man3/atf-c.3
man/man3/atf-sh-api.3
+man/man3/atf-sh.3
man/man4/atf-test-case.4
+man/man7/atf.7
share/aclocal/atf-c++.m4
share/aclocal/atf-c.m4
share/aclocal/atf-common.m4
@@ -45,7 +47,6 @@
tests/atf/atf-c++/atf_c++_test
tests/atf/atf-c++/build_test
tests/atf/atf-c++/check_test
-tests/atf/atf-c++/config_test
tests/atf/atf-c++/detail/Kyuafile
tests/atf/atf-c++/detail/application_test
tests/atf/atf-c++/detail/auto_array_test
@@ -53,7 +54,6 @@
tests/atf/atf-c++/detail/exceptions_test
tests/atf/atf-c++/detail/fs_test
tests/atf/atf-c++/detail/process_test
-tests/atf/atf-c++/detail/sanity_test
tests/atf/atf-c++/detail/text_test
tests/atf/atf-c++/detail/version_helper
tests/atf/atf-c++/macros_hpp_test.cpp
@@ -66,7 +66,6 @@
tests/atf/atf-c/atf_c_test
tests/atf/atf-c/build_test
tests/atf/atf-c/check_test
-tests/atf/atf-c/config_test
tests/atf/atf-c/detail/Kyuafile
tests/atf/atf-c/detail/dynstr_test
tests/atf/atf-c/detail/env_test
diff -r 9de322d53692 -r 1b9485cd744b devel/atf/distinfo
--- a/devel/atf/distinfo Wed Feb 22 11:44:46 2017 +0000
+++ b/devel/atf/distinfo Wed Feb 22 11:46:58 2017 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.22 2015/11/03 03:27:15 agc Exp $
+$NetBSD: distinfo,v 1.23 2017/02/22 11:46:58 wiz Exp $
-SHA1 (atf-0.20.tar.gz) = 398baa9733f9136bb78c27d10a8fffd7810e678a
-RMD160 (atf-0.20.tar.gz) = 0ccf52d1d46735beec32e527c80262ad743f9a27
-SHA512 (atf-0.20.tar.gz) = d306c1e9ca58d9c7ea2bcc75170431c25bdec6f963434859d4933797739b9a503f558e19eb60d2767ff11214abe3748f0044a1984c20c8af822e4e68321f83ee
-Size (atf-0.20.tar.gz) = 556370 bytes
+SHA1 (atf-0.21.tar.gz) = 7cc9d3703f7c0e00bb8ec801f7ac65ac9dc898d7
+RMD160 (atf-0.21.tar.gz) = c68d675a59ee717fb83dfbfbe530a48619f93946
+SHA512 (atf-0.21.tar.gz) = 9b4b67d7d0d1f65cc9571d38c67dfc620b08ff7c0abf57d87bcae54055b4af21f95f3363f2cf8ee9b13b89a5351bc58669b784a0fd8c1beb0664c14933c10ce1
+Size (atf-0.21.tar.gz) = 567791 bytes
SHA1 (patch-atf-c_tp__test.c) = cfaa36a19ea9d39004c8d5b6099d3de1b2727baa
Home |
Main Index |
Thread Index |
Old Index