pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/atf Update to 0.6:
details: https://anonhg.NetBSD.org/pkgsrc/rev/660e5615a599
branches: trunk
changeset: 553298:660e5615a599
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Jan 18 21:23:14 2009 +0000
description:
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:
devel/atf/Makefile | 9 +++++----
devel/atf/PLIST | 18 ++++++++++++++----
devel/atf/distinfo | 8 ++++----
3 files changed, 23 insertions(+), 12 deletions(-)
diffs (147 lines):
diff -r c34e905ed674 -r 660e5615a599 devel/atf/Makefile
--- a/devel/atf/Makefile Sun Jan 18 20:09:08 2009 +0000
+++ b/devel/atf/Makefile Sun Jan 18 21:23:14 2009 +0000
@@ -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@localhost
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
@@ -19,7 +19,8 @@
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 -r c34e905ed674 -r 660e5615a599 devel/atf/PLIST
--- a/devel/atf/PLIST Sun Jan 18 20:09:08 2009 +0000
+++ b/devel/atf/PLIST Sun Jan 18 21:23:14 2009 +0000
@@ -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 @@
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++/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++/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/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 @@
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/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_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_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_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 -r c34e905ed674 -r 660e5615a599 devel/atf/distinfo
--- a/devel/atf/distinfo Sun Jan 18 20:09:08 2009 +0000
+++ b/devel/atf/distinfo Sun Jan 18 21:23:14 2009 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index