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.3:
details: https://anonhg.NetBSD.org/pkgsrc/rev/3533dbc1da20
branches: trunk
changeset: 535222:3533dbc1da20
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Sun Nov 11 21:46:41 2007 +0000
description:
Update to 0.3:
* Added XML output support to atf-report. This is accompanied by a DTD for
the format's structure and sample XSLT/CSS files to post-process this
output and convert it to a plain HTML report.
* Changed atf-run to add system information to the report it generates.
This is currently used by atf-report's XML output only, and is later
printed in the HTML reports in a nice and useful summary table. The user
and system administrator are allowed to tune this feature by means of
hooks.
* Removed the test cases' 'isolated' property. This was intended to avoid
touching the file system at all when running the related test case, but
this has not been true for a long while: some control files are
unconditionally required for several purposes, and we cannot easily get
rid of them. This way we remove several critical and delicate pieces of
code.
* Improved atf-report's CSV output format to include information about
test programs too.
* Fixed the tests that used atf-compile to not require this tool as a
helper. Avoids systems without build-time utilities to skip many tests
that could otherwise be run. (E.g. NetBSD without the comp.tgz set
installed.)
* Many general cleanups: Fixed many pieces of code marked as ugly and/or
incomplete.
diffstat:
devel/atf/Makefile | 10 ++++++--
devel/atf/PLIST | 55 +++++++++++++++++++++++++++++++++++++++++++++++++----
devel/atf/distinfo | 8 +++---
3 files changed, 61 insertions(+), 12 deletions(-)
diffs (174 lines):
diff -r 7b80aa367ade -r 3533dbc1da20 devel/atf/Makefile
--- a/devel/atf/Makefile Sun Nov 11 21:24:24 2007 +0000
+++ b/devel/atf/Makefile Sun Nov 11 21:46:41 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2007/09/20 21:37:56 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2007/11/11 21:46:41 jmmv Exp $
#
-DISTNAME= atf-0.2
+DISTNAME= atf-0.3
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.2/
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.3/
MAINTAINER= jmmv%NetBSD.org@localhost
HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/
@@ -19,4 +19,8 @@
PKG_SYSCONFSUBDIR= atf
+XML_ENTRIES= public "-//NetBSD//DTD ATF Tests Results 0.1//EN" \
+ ${PREFIX}/share/xml/atf/tests-results.dtd
+
+.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 7b80aa367ade -r 3533dbc1da20 devel/atf/PLIST
--- a/devel/atf/PLIST Sun Nov 11 21:24:24 2007 +0000
+++ b/devel/atf/PLIST Sun Nov 11 21:46:41 2007 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/09/20 21:37:56 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.3 2007/11/11 21:46:41 jmmv Exp $
bin/atf-compile
bin/atf-config
bin/atf-report
@@ -16,12 +16,13 @@
include/atf/io.hpp
include/atf/macros.hpp
include/atf/parser.hpp
-include/atf/serial.hpp
+include/atf/sanity.hpp
include/atf/tests.hpp
include/atf/text.hpp
include/atf/ui.hpp
include/atf/user.hpp
-lib/libatf.a
+include/atf/utils.hpp
+lib/libatf.la
libexec/atf-cleanup
libexec/atf-format
man/man1/atf-cleanup.1
@@ -35,6 +36,7 @@
man/man4/atf-test-case.4
man/man5/atf-formats.5
man/man7/atf.7
+share/atf/atf-run.hooks
share/atf/atf.config.subr
share/atf/atf.footer.subr
share/atf/atf.header.subr
@@ -44,6 +46,10 @@
share/doc/atf/NEWS
share/doc/atf/README
share/doc/atf/ROADMAP
+share/examples/atf/atf-run.hooks
+share/examples/atf/tests-results.css
+share/xml/atf/tests-results.dtd
+share/xsl/atf/tests-results.xsl
tests/atf/Atffile
tests/atf/formats/Atffile
tests/atf/formats/d_atffile_1
@@ -163,6 +169,10 @@
tests/atf/formats/d_tps_2.expout
tests/atf/formats/d_tps_3
tests/atf/formats/d_tps_3.expout
+tests/atf/formats/d_tps_4
+tests/atf/formats/d_tps_4.expout
+tests/atf/formats/d_tps_5
+tests/atf/formats/d_tps_5.expout
tests/atf/formats/d_tps_50
tests/atf/formats/d_tps_50.experr
tests/atf/formats/d_tps_51
@@ -187,13 +197,37 @@
tests/atf/formats/d_tps_58
tests/atf/formats/d_tps_58.experr
tests/atf/formats/d_tps_58.expout
+tests/atf/formats/d_tps_59
+tests/atf/formats/d_tps_59.experr
+tests/atf/formats/d_tps_60
+tests/atf/formats/d_tps_60.experr
+tests/atf/formats/d_tps_61
+tests/atf/formats/d_tps_61.experr
+tests/atf/formats/d_tps_62
+tests/atf/formats/d_tps_62.experr
+tests/atf/formats/d_tps_62.expout
+tests/atf/formats/d_tps_63
+tests/atf/formats/d_tps_63.experr
+tests/atf/formats/d_tps_63.expout
+tests/atf/formats/d_tps_64
+tests/atf/formats/d_tps_64.experr
+tests/atf/formats/d_tps_64.expout
+tests/atf/formats/d_tps_65
+tests/atf/formats/d_tps_65.experr
+tests/atf/formats/d_tps_65.expout
+tests/atf/formats/d_tps_66
+tests/atf/formats/d_tps_66.experr
+tests/atf/formats/d_tps_66.expout
tests/atf/formats/h_parser
tests/atf/formats/t_parsers
+tests/atf/formats/t_writers
tests/atf/sh_interface/Atffile
+tests/atf/sh_interface/h_misc
tests/atf/sh_interface/t_atf_check
tests/atf/sh_interface/t_config
tests/atf/sh_interface/t_normalize
tests/atf/sh_interface/t_tc
+tests/atf/sh_interface/t_tp
tests/atf/test_programs/Atffile
tests/atf/test_programs/h_cpp
tests/atf/test_programs/h_sh
@@ -203,7 +237,13 @@
tests/atf/test_programs/t_fork
tests/atf/test_programs/t_meta_data
tests/atf/test_programs/t_srcdir
+tests/atf/test_programs/t_status
+tests/atf/test_programs/t_workdir
tests/atf/tools/Atffile
+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_cleanup
tests/atf/tools/t_atf_compile
tests/atf/tools/t_atf_config
@@ -213,14 +253,14 @@
tests/atf/units/t_config
tests/atf/units/t_env
tests/atf/units/t_expand
-tests/atf/units/t_formats
tests/atf/units/t_fs
tests/atf/units/t_io
tests/atf/units/t_parser
-tests/atf/units/t_serial
+tests/atf/units/t_sanity
tests/atf/units/t_tests
tests/atf/units/t_text
tests/atf/units/t_user
+tests/atf/units/t_utils
@dirrm tests/atf/units
@dirrm tests/atf/tools
@dirrm tests/atf/test_programs
@@ -228,6 +268,11 @@
@dirrm tests/atf/formats
@dirrm tests/atf
@dirrm tests
+@dirrm share/xsl/atf
+@unexec ${RMDIR} %D/share/xsl >/dev/null 2>&1 || ${TRUE}
+@dirrm share/xml/atf
+@comment in xmlcatmgr: @dirrm share/xml
+@dirrm share/examples/atf
@dirrm share/doc/atf
@dirrm share/atf
@dirrm include/atf
diff -r 7b80aa367ade -r 3533dbc1da20 devel/atf/distinfo
--- a/devel/atf/distinfo Sun Nov 11 21:24:24 2007 +0000
+++ b/devel/atf/distinfo Sun Nov 11 21:46:41 2007 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2007/09/20 21:37:56 jmmv Exp $
+$NetBSD: distinfo,v 1.3 2007/11/11 21:46:41 jmmv Exp $
-SHA1 (atf-0.2.tar.gz) = f31cf24df78c194b63c0694c0f1a7b2f7bb0c9b6
-RMD160 (atf-0.2.tar.gz) = dc80abd7a94d85c93def55b78b66f5cd5948ada6
-Size (atf-0.2.tar.gz) = 457759 bytes
+SHA1 (atf-0.3.tar.gz) = 3734ed79d6116e4ec3c90ca2cf5aca5bac86e5a1
+RMD160 (atf-0.3.tar.gz) = 969d8fcf045d521122e1338f3ff208022f040175
+Size (atf-0.3.tar.gz) = 474051 bytes
Home |
Main Index |
Thread Index |
Old Index