Thu Mar 31 16:30:12 2011 UTC ()
Update atf to 0.13:

Experimental version released on March 31st, 2011.

This is the first release after the creation of the Kyua project, a more
modular and reliable replacement for ATF.  From now on, ATF will change to
accomodate the transition to this new codebase, but ATF will still continue
to see development in the short/medium term.  Check out the project page at
http://code.google.com/p/kyua/ for more details.

The changes in this release are:

* Added support to run the tests with the Kyua runtime engine (kyua-cli), a
  new package that aims to replace atf-run and atf-report.  The ATF tests
  can be run with the new system by issuing a 'make installcheck-kyua' from
  the top-level directory of the project (assuming the 'kyua' binary is
  available during the configuration stage of ATF).

* atf-run and atf-report are now in maintenance mode (but *not* deprecated
  yet!).  Kyua already implements a new, much more reliable runtime engine
  that provides similar features to these tools.  That said, it is not
  complete yet so all development efforts should go towards it.

* If GDB is installed, atf-run dumps the stack trace of crashing test
  programs in an attempt to aid debugging.  Contributed by Antti Kantee.

* Reverted default timeout change in previous release and reset its value
  to 5 minutes.  This was causing several issues, specially when running
  the existing NetBSD test suite in qemu.

* Fixed the 'match' output checker in atf-check to properly validate the
  last line of a file even if it does not have a newline.

* Added the ATF_REQUIRE_IN and ATF_REQUIRE_NOT_IN macros to atf-c++ to
  check for the presence (or lack thereof) of an element in a collection.

* PR bin/44176: Fixed a race condition in atf-run that would crash atf-run
  when the cleanup of a test case triggered asynchronous modifications to
  its work directory (e.g. killing a daemon process that cleans up a pid
  file in the work directory).

* PR bin/44301: Fixed the sample XSLT file to report bogus test programs
  instead of just listing them as having 0 test cases.


(jmmv)
diff -r1.15 -r1.16 pkgsrc/devel/atf/Makefile
diff -r1.14 -r1.15 pkgsrc/devel/atf/PLIST
diff -r1.12 -r1.13 pkgsrc/devel/atf/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/devel/atf/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/atf/Makefile 2010/11/07 13:41:14 1.15
+++ pkgsrc/devel/atf/Makefile 2011/03/31 16:30:11 1.16
@@ -1,19 +1,19 @@ @@ -1,19 +1,19 @@
1# $NetBSD: Makefile,v 1.15 2010/11/07 13:41:14 jmmv Exp $ 1# $NetBSD: Makefile,v 1.16 2011/03/31 16:30:11 jmmv Exp $
2# 2#
3 3
4DISTNAME= atf-0.12 4DISTNAME= atf-0.13
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.12/ 6MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.13/
7 7
8MAINTAINER= jmmv@NetBSD.org 8MAINTAINER= jmmv@NetBSD.org
9HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/ 9HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
10COMMENT= Automated testing framework 10COMMENT= Automated testing framework
11LICENSE= 2-clause-bsd 11LICENSE= 2-clause-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15MAKE_JOBS_SAFE= yes 15MAKE_JOBS_SAFE= yes
16 16
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18USE_LANGUAGES= c c++ 18USE_LANGUAGES= c c++
19USE_LIBTOOL= yes 19USE_LIBTOOL= yes

cvs diff -r1.14 -r1.15 pkgsrc/devel/atf/PLIST (expand / switch to unified diff)

--- pkgsrc/devel/atf/PLIST 2010/11/07 13:41:14 1.14
+++ pkgsrc/devel/atf/PLIST 2011/03/31 16:30:11 1.15
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.14 2010/11/07 13:41:14 jmmv Exp $ 1@comment $NetBSD: PLIST,v 1.15 2011/03/31 16:30:11 jmmv Exp $
2bin/atf-config 2bin/atf-config
3bin/atf-report 3bin/atf-report
4bin/atf-run 4bin/atf-run
5bin/atf-sh 5bin/atf-sh
6bin/atf-version 6bin/atf-version
7include/atf-c++.hpp 7include/atf-c++.hpp
8include/atf-c++/build.hpp 8include/atf-c++/build.hpp
9include/atf-c++/check.hpp 9include/atf-c++/check.hpp
10include/atf-c++/config.hpp 10include/atf-c++/config.hpp
11include/atf-c++/macros.hpp 11include/atf-c++/macros.hpp
12include/atf-c++/tests.hpp 12include/atf-c++/tests.hpp
13include/atf-c++/utils.hpp 13include/atf-c++/utils.hpp
14include/atf-c.h 14include/atf-c.h
@@ -42,101 +42,111 @@ man/man5/atf-formats.5 @@ -42,101 +42,111 @@ man/man5/atf-formats.5
42man/man7/atf.7 42man/man7/atf.7
43share/atf/atf-run.hooks 43share/atf/atf-run.hooks
44share/atf/libatf-sh.subr 44share/atf/libatf-sh.subr
45share/doc/atf/AUTHORS 45share/doc/atf/AUTHORS
46share/doc/atf/COPYING 46share/doc/atf/COPYING
47share/doc/atf/NEWS 47share/doc/atf/NEWS
48share/doc/atf/README 48share/doc/atf/README
49share/examples/atf/atf-run.hooks 49share/examples/atf/atf-run.hooks
50share/examples/atf/common.conf 50share/examples/atf/common.conf
51share/examples/atf/tests-results.css 51share/examples/atf/tests-results.css
52share/xml/atf/tests-results.dtd 52share/xml/atf/tests-results.dtd
53share/xsl/atf/tests-results.xsl 53share/xsl/atf/tests-results.xsl
54tests/atf/Atffile 54tests/atf/Atffile
 55tests/atf/Kyuafile
55tests/atf/atf-c++/Atffile 56tests/atf/atf-c++/Atffile
 57tests/atf/atf-c++/Kyuafile
56tests/atf/atf-c++/atf_c++_test 58tests/atf/atf-c++/atf_c++_test
57tests/atf/atf-c++/build_test 59tests/atf/atf-c++/build_test
58tests/atf/atf-c++/check_test 60tests/atf/atf-c++/check_test
59tests/atf/atf-c++/config_test 61tests/atf/atf-c++/config_test
60tests/atf/atf-c++/detail/Atffile 62tests/atf/atf-c++/detail/Atffile
 63tests/atf/atf-c++/detail/Kyuafile
61tests/atf/atf-c++/detail/application_test 64tests/atf/atf-c++/detail/application_test
62tests/atf/atf-c++/detail/env_test 65tests/atf/atf-c++/detail/env_test
63tests/atf/atf-c++/detail/exceptions_test 66tests/atf/atf-c++/detail/exceptions_test
64tests/atf/atf-c++/detail/expand_test 67tests/atf/atf-c++/detail/expand_test
65tests/atf/atf-c++/detail/fs_test 68tests/atf/atf-c++/detail/fs_test
66tests/atf/atf-c++/detail/parser_test 69tests/atf/atf-c++/detail/parser_test
67tests/atf/atf-c++/detail/process_test 70tests/atf/atf-c++/detail/process_test
68tests/atf/atf-c++/detail/sanity_test 71tests/atf/atf-c++/detail/sanity_test
69tests/atf/atf-c++/detail/text_test 72tests/atf/atf-c++/detail/text_test
70tests/atf/atf-c++/detail/ui_test 73tests/atf/atf-c++/detail/ui_test
71tests/atf/atf-c++/macros_hpp_test.cpp 74tests/atf/atf-c++/macros_hpp_test.cpp
72tests/atf/atf-c++/macros_test 75tests/atf/atf-c++/macros_test
73tests/atf/atf-c++/pkg_config_test 76tests/atf/atf-c++/pkg_config_test
74tests/atf/atf-c++/tests_test 77tests/atf/atf-c++/tests_test
75tests/atf/atf-c++/utils_test 78tests/atf/atf-c++/utils_test
76tests/atf/atf-c/Atffile 79tests/atf/atf-c/Atffile
 80tests/atf/atf-c/Kyuafile
77tests/atf/atf-c/atf_c_test 81tests/atf/atf-c/atf_c_test
78tests/atf/atf-c/build_test 82tests/atf/atf-c/build_test
79tests/atf/atf-c/check_test 83tests/atf/atf-c/check_test
80tests/atf/atf-c/config_test 84tests/atf/atf-c/config_test
81tests/atf/atf-c/detail/Atffile 85tests/atf/atf-c/detail/Atffile
 86tests/atf/atf-c/detail/Kyuafile
82tests/atf/atf-c/detail/dynstr_test 87tests/atf/atf-c/detail/dynstr_test
83tests/atf/atf-c/detail/env_test 88tests/atf/atf-c/detail/env_test
84tests/atf/atf-c/detail/fs_test 89tests/atf/atf-c/detail/fs_test
85tests/atf/atf-c/detail/list_test 90tests/atf/atf-c/detail/list_test
86tests/atf/atf-c/detail/map_test 91tests/atf/atf-c/detail/map_test
87tests/atf/atf-c/detail/process_helpers 92tests/atf/atf-c/detail/process_helpers
88tests/atf/atf-c/detail/process_test 93tests/atf/atf-c/detail/process_test
89tests/atf/atf-c/detail/sanity_test 94tests/atf/atf-c/detail/sanity_test
90tests/atf/atf-c/detail/test_helpers_test 95tests/atf/atf-c/detail/test_helpers_test
91tests/atf/atf-c/detail/text_test 96tests/atf/atf-c/detail/text_test
92tests/atf/atf-c/detail/user_test 97tests/atf/atf-c/detail/user_test
93tests/atf/atf-c/error_test 98tests/atf/atf-c/error_test
94tests/atf/atf-c/macros_h_test.c 99tests/atf/atf-c/macros_h_test.c
95tests/atf/atf-c/macros_test 100tests/atf/atf-c/macros_test
96tests/atf/atf-c/pkg_config_test 101tests/atf/atf-c/pkg_config_test
97tests/atf/atf-c/tc_test 102tests/atf/atf-c/tc_test
98tests/atf/atf-c/tp_test 103tests/atf/atf-c/tp_test
99tests/atf/atf-c/utils_test 104tests/atf/atf-c/utils_test
100tests/atf/atf-config/Atffile 105tests/atf/atf-config/Atffile
 106tests/atf/atf-config/Kyuafile
101tests/atf/atf-config/integration_test 107tests/atf/atf-config/integration_test
102tests/atf/atf-report/Atffile 108tests/atf/atf-report/Atffile
 109tests/atf/atf-report/Kyuafile
103tests/atf/atf-report/fail_helper 110tests/atf/atf-report/fail_helper
104tests/atf/atf-report/integration_test 111tests/atf/atf-report/integration_test
105tests/atf/atf-report/misc_helpers 112tests/atf/atf-report/misc_helpers
106tests/atf/atf-report/pass_helper 113tests/atf/atf-report/pass_helper
107tests/atf/atf-report/reader_test 114tests/atf/atf-report/reader_test
108tests/atf/atf-run/Atffile 115tests/atf/atf-run/Atffile
 116tests/atf/atf-run/Kyuafile
109tests/atf/atf-run/atffile_test 117tests/atf/atf-run/atffile_test
110tests/atf/atf-run/bad_metadata_helper 118tests/atf/atf-run/bad_metadata_helper
111tests/atf/atf-run/config_test 119tests/atf/atf-run/config_test
112tests/atf/atf-run/expect_helpers 120tests/atf/atf-run/expect_helpers
113tests/atf/atf-run/fs_test 121tests/atf/atf-run/fs_test
114tests/atf/atf-run/integration_test 122tests/atf/atf-run/integration_test
115tests/atf/atf-run/io_test 123tests/atf/atf-run/io_test
116tests/atf/atf-run/misc_helpers 124tests/atf/atf-run/misc_helpers
117tests/atf/atf-run/pass_helper 125tests/atf/atf-run/pass_helper
118tests/atf/atf-run/requirements_test 126tests/atf/atf-run/requirements_test
119tests/atf/atf-run/several_tcs_helper 127tests/atf/atf-run/several_tcs_helper
120tests/atf/atf-run/signals_test 128tests/atf/atf-run/signals_test
121tests/atf/atf-run/test_program_test 129tests/atf/atf-run/test_program_test
122tests/atf/atf-run/user_test 130tests/atf/atf-run/user_test
123tests/atf/atf-run/zero_tcs_helper 131tests/atf/atf-run/zero_tcs_helper
124tests/atf/atf-sh/Atffile 132tests/atf/atf-sh/Atffile
 133tests/atf/atf-sh/Kyuafile
125tests/atf/atf-sh/atf-check_test 134tests/atf/atf-sh/atf-check_test
126tests/atf/atf-sh/atf_check_test 135tests/atf/atf-sh/atf_check_test
127tests/atf/atf-sh/config_test 136tests/atf/atf-sh/config_test
128tests/atf/atf-sh/integration_test 137tests/atf/atf-sh/integration_test
129tests/atf/atf-sh/misc_helpers 138tests/atf/atf-sh/misc_helpers
130tests/atf/atf-sh/normalize_test 139tests/atf/atf-sh/normalize_test
131tests/atf/atf-sh/tc_test 140tests/atf/atf-sh/tc_test
132tests/atf/atf-sh/tp_test 141tests/atf/atf-sh/tp_test
133tests/atf/test-programs/Atffile 142tests/atf/test-programs/Atffile
 143tests/atf/test-programs/Kyuafile
134tests/atf/test-programs/c_helpers 144tests/atf/test-programs/c_helpers
135tests/atf/test-programs/config_test 145tests/atf/test-programs/config_test
136tests/atf/test-programs/cpp_helpers 146tests/atf/test-programs/cpp_helpers
137tests/atf/test-programs/expect_test 147tests/atf/test-programs/expect_test
138tests/atf/test-programs/fork_test 148tests/atf/test-programs/fork_test
139tests/atf/test-programs/meta_data_test 149tests/atf/test-programs/meta_data_test
140tests/atf/test-programs/result_test 150tests/atf/test-programs/result_test
141tests/atf/test-programs/sh_helpers 151tests/atf/test-programs/sh_helpers
142tests/atf/test-programs/srcdir_test 152tests/atf/test-programs/srcdir_test

cvs diff -r1.12 -r1.13 pkgsrc/devel/atf/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/atf/distinfo 2010/11/07 13:41:14 1.12
+++ pkgsrc/devel/atf/distinfo 2011/03/31 16:30:11 1.13
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.12 2010/11/07 13:41:14 jmmv Exp $ 1$NetBSD: distinfo,v 1.13 2011/03/31 16:30:11 jmmv Exp $
2 2
3SHA1 (atf-0.12.tar.gz) = 6dd0988d44ed76b7d15e53978e7aec043baa9010 3SHA1 (atf-0.13.tar.gz) = cc31cd0b58015e1bc581792c347e5d4588f4a475
4RMD160 (atf-0.12.tar.gz) = 0fa6a840598c5eba89fc74ca69fca94b993244ea 4RMD160 (atf-0.13.tar.gz) = 0e76d1876d61a7edb21a006723ce0327c82edead
5Size (atf-0.12.tar.gz) = 605664 bytes 5Size (atf-0.13.tar.gz) = 613264 bytes