diff options
author | jmmv <jmmv@pkgsrc.org> | 2009-01-18 21:23:14 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2009-01-18 21:23:14 +0000 |
commit | 0d4f326d17c2136d9cc756ae1f832964ebcfa9a4 (patch) | |
tree | ef7a1fa21ae13b283a2e85b0888023546067ae09 /devel/atf | |
parent | bb528713690723b06f6dcd961221b08ec11e408e (diff) | |
download | pkgsrc-0d4f326d17c2136d9cc756ae1f832964ebcfa9a4.tar.gz |
Update to 0.6:
Release date: January 18th, 2009
Status: Experimental
* Make atf-exec be able to kill its child process after a certain period of
time; this is controlled through the new -t option.
* Change atf-sh to use atf-exec's -t option to control the test case's
timeouts, instead of doing it internally. Same behavior as before, but
noticeably faster.
* atf-exec's -g option and atf-killpg are gone due to the previous change.
* Added the atf-check(1) tool, a program that executes a given command and
checks its exit code against a known value and allows the management of
stdout and stderr in multiple ways. This replaces the previous atf_check
function in the atf-sh library and exposes this functionality to both
atf-c and atf-c++.
* Added the ATF_REQUIRE family of macros to the C interface. These help
in checking for fatal test conditions. The old ATF_CHECK macros now
perform non-fatal checks only. I.e. by using ATF_CHECK, the test case
can now continue its execution and the failures will not be reported
until the end of the whole run.
* Extended the amount of ATF_CHECK_* C macros with new ones to provide more
features to the developer. These also have their corresponding
counterparts in the ATF_REQUIRE_* family. The new macros (listing the
suffixes only) are: _EQ (replaces _EQUAL), _EQ_MSG, _STREQ and
_STREQ_MSG.
Diffstat (limited to 'devel/atf')
-rw-r--r-- | devel/atf/Makefile | 9 | ||||
-rw-r--r-- | devel/atf/PLIST | 18 | ||||
-rw-r--r-- | devel/atf/distinfo | 8 |
3 files changed, 23 insertions, 12 deletions
diff --git a/devel/atf/Makefile b/devel/atf/Makefile index cd4c9335586..4c1a64f7245 100644 --- a/devel/atf/Makefile +++ b/devel/atf/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:21 joerg Exp $ +# $NetBSD: Makefile,v 1.8 2009/01/18 21:23:14 jmmv Exp $ # -DISTNAME= atf-0.5 +DISTNAME= atf-0.6 CATEGORIES= devel -MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.5/ +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.6/ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/ @@ -19,7 +19,8 @@ CONFIGURE_ARGS+= ATF_CONFSUBDIR= CONFIGURE_ARGS+= ATF_SHELL=${SH:Q} CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} -PKGCONFIG_OVERRIDE= data/atf.pc.in +PKGCONFIG_OVERRIDE= data/atf-c.pc.in +PKGCONFIG_OVERRIDE+= data/atf-c++.pc.in PKG_SYSCONFSUBDIR= atf diff --git a/devel/atf/PLIST b/devel/atf/PLIST index e35f391f2b9..959659c8bb8 100644 --- a/devel/atf/PLIST +++ b/devel/atf/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.5 2008/05/01 15:14:21 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.6 2009/01/18 21:23:14 jmmv Exp $ +bin/atf-check bin/atf-compile bin/atf-config bin/atf-report @@ -7,6 +8,7 @@ bin/atf-version include/atf-c++.hpp include/atf-c++/application.hpp include/atf-c++/atffile.hpp +include/atf-c++/check.hpp include/atf-c++/config.hpp include/atf-c++/env.hpp include/atf-c++/exceptions.hpp @@ -16,6 +18,7 @@ include/atf-c++/fs.hpp include/atf-c++/io.hpp include/atf-c++/macros.hpp include/atf-c++/parser.hpp +include/atf-c++/process.hpp include/atf-c++/sanity.hpp include/atf-c++/tests.hpp include/atf-c++/text.hpp @@ -23,11 +26,13 @@ include/atf-c++/ui.hpp include/atf-c++/user.hpp include/atf-c++/utils.hpp include/atf-c.h +include/atf-c/check.h include/atf-c/config.h include/atf-c/defs.h include/atf-c/dynstr.h include/atf-c/env.h include/atf-c/error.h +include/atf-c/error_fwd.h include/atf-c/expand.h include/atf-c/fs.h include/atf-c/io.h @@ -35,6 +40,7 @@ include/atf-c/list.h include/atf-c/macros.h include/atf-c/map.h include/atf-c/object.h +include/atf-c/process.h include/atf-c/sanity.h include/atf-c/signals.h include/atf-c/tc.h @@ -50,13 +56,12 @@ lib/pkgconfig/atf-c.pc libexec/atf-cleanup libexec/atf-exec libexec/atf-format -libexec/atf-killpg +man/man1/atf-check.1 man/man1/atf-cleanup.1 man/man1/atf-compile.1 man/man1/atf-config.1 man/man1/atf-exec.1 man/man1/atf-format.1 -man/man1/atf-killpg.1 man/man1/atf-report.1 man/man1/atf-run.1 man/man1/atf-test-program.1 @@ -83,6 +88,7 @@ share/xml/atf/tests-results.dtd share/xsl/atf/tests-results.xsl tests/atf/Atffile tests/atf/atf-c++/Atffile +tests/atf/atf-c++/t_check tests/atf/atf-c++/t_config tests/atf/atf-c++/t_env tests/atf/atf-c++/t_expand @@ -90,12 +96,15 @@ tests/atf/atf-c++/t_fs tests/atf/atf-c++/t_io tests/atf/atf-c++/t_macros tests/atf/atf-c++/t_parser +tests/atf/atf-c++/t_process tests/atf/atf-c++/t_signals tests/atf/atf-c++/t_tests tests/atf/atf-c++/t_text tests/atf/atf-c++/t_user tests/atf/atf-c++/t_utils tests/atf/atf-c/Atffile +tests/atf/atf-c/h_check +tests/atf/atf-c/t_check tests/atf/atf-c/t_config tests/atf/atf-c/t_dynstr tests/atf/atf-c/t_env @@ -106,6 +115,7 @@ tests/atf/atf-c/t_io tests/atf/atf-c/t_list tests/atf/atf-c/t_macros tests/atf/atf-c/t_map +tests/atf/atf-c/t_process tests/atf/atf-c/t_sanity tests/atf/atf-c/t_signals tests/atf/atf-c/t_tc @@ -309,11 +319,11 @@ tests/atf/tools/h_fail tests/atf/tools/h_misc tests/atf/tools/h_mode tests/atf/tools/h_pass +tests/atf/tools/t_atf_check tests/atf/tools/t_atf_cleanup tests/atf/tools/t_atf_compile tests/atf/tools/t_atf_config tests/atf/tools/t_atf_exec -tests/atf/tools/t_atf_killpg tests/atf/tools/t_atf_report tests/atf/tools/t_atf_run @dirrm tests/atf/tools diff --git a/devel/atf/distinfo b/devel/atf/distinfo index e55c5e6e1e9..c7110fb502f 100644 --- a/devel/atf/distinfo +++ b/devel/atf/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2008/05/01 15:14:21 jmmv Exp $ +$NetBSD: distinfo,v 1.6 2009/01/18 21:23:14 jmmv Exp $ -SHA1 (atf-0.5.tar.gz) = 63cb8541608518cdb214a10e71228d3e8c8af514 -RMD160 (atf-0.5.tar.gz) = 2e0e95f22d525bea50be5c47bf3a6620ae426d40 -Size (atf-0.5.tar.gz) = 550846 bytes +SHA1 (atf-0.6.tar.gz) = 311b277477bae7dab8e634f7c17cce25a8664012 +RMD160 (atf-0.6.tar.gz) = e81a997e3c3f63b6e473aef6290617ac8438fdae +Size (atf-0.6.tar.gz) = 572410 bytes |