diff options
author | jmmv <jmmv@pkgsrc.org> | 2007-11-11 21:46:41 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2007-11-11 21:46:41 +0000 |
commit | be6db27cf1a97229af65cff90ccccdf0c5404082 (patch) | |
tree | 8d032f96b48c16d96a8fe68e62f83e9658c752f7 /devel | |
parent | dd0dcee0992017371700445dd89b6b0ce345b826 (diff) | |
download | pkgsrc-be6db27cf1a97229af65cff90ccccdf0c5404082.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/atf/Makefile | 10 | ||||
-rw-r--r-- | devel/atf/PLIST | 55 | ||||
-rw-r--r-- | devel/atf/distinfo | 8 |
3 files changed, 61 insertions, 12 deletions
diff --git a/devel/atf/Makefile b/devel/atf/Makefile index 9092c6c6598..fa4c6fa7e6f 100644 --- a/devel/atf/Makefile +++ b/devel/atf/Makefile @@ -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 HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/ @@ -19,4 +19,8 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} 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 --git a/devel/atf/PLIST b/devel/atf/PLIST index b8a8323171a..c56b58f3790 100644 --- a/devel/atf/PLIST +++ b/devel/atf/PLIST @@ -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/fs.hpp 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/man1/atf-version.1 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/COPYING 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 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_57.expout 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_env 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/Atffile 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 @@ tests/atf/units/t_user @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 --git a/devel/atf/distinfo b/devel/atf/distinfo index f34c7667bf3..cd09700482d 100644 --- a/devel/atf/distinfo +++ b/devel/atf/distinfo @@ -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 |