Update devel/atf to 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.

Differential Revision:	https://reviews.freebsd.org/D1001
Approved by:	bapt
This commit is contained in:
Julio Merino 2014-10-30 16:39:59 +00:00
parent b81354a1df
commit ff71766683
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=371762
3 changed files with 12 additions and 14 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= atf
PORTVERSION= 0.20
PORTREVISION= 1
PORTVERSION= 0.21
CATEGORIES= devel
MASTER_SITES= https://github.com/jmmv/${PORTNAME}/releases/download/${PORTNAME}-${PORTVERSION}/ \
LOCAL/jmmv

View File

@ -1,2 +1,2 @@
SHA256 (atf-0.20.tar.gz) = 9bc4ab004603331301410c293394b7e8b7341e59a528a4b51e16effeb1142cd9
SIZE (atf-0.20.tar.gz) = 556370
SHA256 (atf-0.21.tar.gz) = 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505
SIZE (atf-0.21.tar.gz) = 567791

View File

@ -2,14 +2,12 @@ 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
@ -19,12 +17,12 @@ include/atf-c/tp.h
include/atf-c/utils.h
lib/libatf-c++.a
lib/libatf-c++.so
lib/libatf-c++.so.1
lib/libatf-c++.so.1.0.0
lib/libatf-c++.so.2
lib/libatf-c++.so.2.0.0
lib/libatf-c.a
lib/libatf-c.so
lib/libatf-c.so.0
lib/libatf-c.so.0.0.0
lib/libatf-c.so.1
lib/libatf-c.so.1.0.0
libdata/pkgconfig/atf-c++.pc
libdata/pkgconfig/atf-c.pc
libdata/pkgconfig/atf-sh.pc
@ -32,10 +30,14 @@ libexec/atf-check
man/man1/atf-check.1.gz
man/man1/atf-sh.1.gz
man/man1/atf-test-program.1.gz
man/man3/atf-c-api.3.gz
man/man3/atf-c++-api.3.gz
man/man3/atf-c++.3.gz
man/man3/atf-c-api.3.gz
man/man3/atf-c.3.gz
man/man3/atf-sh-api.3.gz
man/man3/atf-sh.3.gz
man/man4/atf-test-case.4.gz
man/man7/atf.7.gz
share/aclocal/atf-c++.m4
share/aclocal/atf-c.m4
share/aclocal/atf-common.m4
@ -52,7 +54,6 @@ share/aclocal/atf-sh.m4
%%TEST%%tests/atf/atf-c/atf_c_test
%%TEST%%tests/atf/atf-c/build_test
%%TEST%%tests/atf/atf-c/check_test
%%TEST%%tests/atf/atf-c/config_test
%%TEST%%tests/atf/atf-c/error_test
%%TEST%%tests/atf/atf-c/macros_test
%%TEST%%tests/atf/atf-c/tc_test
@ -77,7 +78,6 @@ share/aclocal/atf-sh.m4
%%TEST%%tests/atf/atf-c++/atf_c++_test
%%TEST%%tests/atf/atf-c++/build_test
%%TEST%%tests/atf/atf-c++/check_test
%%TEST%%tests/atf/atf-c++/config_test
%%TEST%%tests/atf/atf-c++/macros_test
%%TEST%%tests/atf/atf-c++/tests_test
%%TEST%%tests/atf/atf-c++/utils_test
@ -89,7 +89,6 @@ share/aclocal/atf-sh.m4
%%TEST%%tests/atf/atf-c++/detail/exceptions_test
%%TEST%%tests/atf/atf-c++/detail/fs_test
%%TEST%%tests/atf/atf-c++/detail/process_test
%%TEST%%tests/atf/atf-c++/detail/sanity_test
%%TEST%%tests/atf/atf-c++/detail/text_test
%%TEST%%tests/atf/atf-c++/detail/version_helper
%%TEST%%tests/atf/atf-sh/Kyuafile