From cdc48bdf8c48ef7b984db165a85a28b7ed2f1000 Mon Sep 17 00:00:00 2001 From: jmmv <jmmv@pkgsrc.org> Date: Thu, 3 Jun 2010 16:07:25 +0000 Subject: Update to 0.9: Experimental version released on June 3rd, 2010. * Added atf-sh, an interpreter to process test programs written using the shell API. This is not really a shell interpreter by itself though: it is just a wrapper around the system shell that eases the loading of the necessary ATF libraries. * Removed atf-compile in favour of atf-sh. * Added the use.fs metadata property to test case, which is used to specify which test cases require file system access. This is to highlight dependencies on external resources more clearly and to speed up the execution of test suites by skipping the creation of many unnecessary work directories. * Fixed test programs to get a sane default value for their source directory. This means that it should not be necessary any more to pass -s when running test programs that do not live in the current directory. * Defining test case headers became optional. This is trivial to achieve in shell-based tests but a bit ugly in C and C++. In C, use the new ATF_TC_WITHOUT_HEAD macro to define the test case, and in C++ use ATF_TEST_CASE_WITHOUT_HEAD. --- devel/atf/Makefile | 6 +++--- devel/atf/PLIST | 20 +++++++------------- devel/atf/distinfo | 8 ++++---- 3 files changed, 14 insertions(+), 20 deletions(-) (limited to 'devel') diff --git a/devel/atf/Makefile b/devel/atf/Makefile index 7cd314f96ca..b7282ad7e93 100644 --- a/devel/atf/Makefile +++ b/devel/atf/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.11 2010/05/07 15:35:06 jmmv Exp $ +# $NetBSD: Makefile,v 1.12 2010/06/03 16:07:25 jmmv Exp $ # -DISTNAME= atf-0.8 +DISTNAME= atf-0.9 CATEGORIES= devel -MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.8/ +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.9/ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/ diff --git a/devel/atf/PLIST b/devel/atf/PLIST index 12b7389623c..9f7a1a12b7f 100644 --- a/devel/atf/PLIST +++ b/devel/atf/PLIST @@ -1,9 +1,9 @@ -@comment $NetBSD: PLIST,v 1.10 2010/05/07 15:35:06 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.11 2010/06/03 16:07:25 jmmv Exp $ bin/atf-check -bin/atf-compile bin/atf-config bin/atf-report bin/atf-run +bin/atf-sh bin/atf-version include/atf-c++.hpp include/atf-c++/application.hpp @@ -41,7 +41,6 @@ include/atf-c/io.h 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/tc.h @@ -58,11 +57,11 @@ libexec/atf-cleanup libexec/atf-format man/man1/atf-check.1 man/man1/atf-cleanup.1 -man/man1/atf-compile.1 man/man1/atf-config.1 man/man1/atf-format.1 man/man1/atf-report.1 man/man1/atf-run.1 +man/man1/atf-sh.1 man/man1/atf-test-program.1 man/man1/atf-version.1 man/man3/atf-c++-api.3 @@ -72,9 +71,7 @@ man/man4/atf-test-case.4 man/man5/atf-formats.5 man/man7/atf.7 share/atf/atf-run.hooks -share/atf/atf.footer.subr -share/atf/atf.header.subr -share/atf/atf.init.subr +share/atf/libatf-sh.subr share/doc/atf/AUTHORS share/doc/atf/COPYING share/doc/atf/NEWS @@ -122,6 +119,7 @@ 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_pkg_config tests/atf/atf-c++/t_process tests/atf/atf-c++/t_sanity tests/atf/atf-c++/t_signals @@ -144,7 +142,6 @@ tests/atf/atf-c/d_include_io_h.c tests/atf/atf-c/d_include_list_h.c tests/atf/atf-c/d_include_macros_h.c tests/atf/atf-c/d_include_map_h.c -tests/atf/atf-c/d_include_object_h.c tests/atf/atf-c/d_include_process_h.c tests/atf/atf-c/d_include_sanity_h.c tests/atf/atf-c/d_include_tc_h.c @@ -168,6 +165,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_pkg_config tests/atf/atf-c/t_process tests/atf/atf-c/t_sanity tests/atf/atf-c/t_tc @@ -180,9 +178,6 @@ tests/atf/atf-check/Atffile tests/atf/atf-check/t_integration tests/atf/atf-cleanup/Atffile tests/atf/atf-cleanup/t_integration -tests/atf/atf-compile/Atffile -tests/atf/atf-compile/h_mode -tests/atf/atf-compile/t_integration tests/atf/atf-config/Atffile tests/atf/atf-config/t_integration tests/atf/atf-report/Atffile @@ -205,11 +200,10 @@ tests/atf/atf-sh/Atffile tests/atf/atf-sh/h_misc tests/atf/atf-sh/t_atf_check tests/atf/atf-sh/t_config +tests/atf/atf-sh/t_integration tests/atf/atf-sh/t_normalize tests/atf/atf-sh/t_tc tests/atf/atf-sh/t_tp -tests/atf/data/Atffile -tests/atf/data/t_pkg_config tests/atf/formats/Atffile tests/atf/formats/d_atffile_1 tests/atf/formats/d_atffile_1.expout diff --git a/devel/atf/distinfo b/devel/atf/distinfo index 71f537fc105..0cb2cc623ef 100644 --- a/devel/atf/distinfo +++ b/devel/atf/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.8 2010/05/07 15:35:06 jmmv Exp $ +$NetBSD: distinfo,v 1.9 2010/06/03 16:07:26 jmmv Exp $ -SHA1 (atf-0.8.tar.gz) = a86416081f0381eaab2d7f1c129202f282335afd -RMD160 (atf-0.8.tar.gz) = 3fae9e5a121ed39ab8d5e56fffa5b7c436be66d1 -Size (atf-0.8.tar.gz) = 669187 bytes +SHA1 (atf-0.9.tar.gz) = 10a3dee3543ee9e8b5d2b67bcd3f4b2a8921f21f +RMD160 (atf-0.9.tar.gz) = e4868246512a815469f7b3cd35971795f23e5d0d +Size (atf-0.9.tar.gz) = 674458 bytes -- cgit v1.2.3