diff options
author | jmmv <jmmv@pkgsrc.org> | 2010-05-07 15:35:06 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2010-05-07 15:35:06 +0000 |
commit | f48042ebf9145a4659eb8bd8a8bfb37cb466fbde (patch) | |
tree | 8bdc0484e992b3aa0c06713052ff2e023cf0f50c /devel/atf | |
parent | 95e4c6f79e04dfb4e18514bdd9393e7ebd96ea28 (diff) | |
download | pkgsrc-f48042ebf9145a4659eb8bd8a8bfb37cb466fbde.tar.gz |
Update to 0.8:
Experimental version released on May 7th, 2010.
* Test programs no longer run several test cases in a row. The execution
of a test program now requires a test case name, and that single test
case is executed. To execute several test cases, use the atf-run
utility as usual.
* Test programs no longer fork a subprocess to isolate the execution of
test cases. They run the test case code in-process, and a crash of the
test case will result in a crash of the test program. This is to ease
debugging of faulty test cases.
* Test programs no longer isolate their test cases. This means that they
will not create temporary directories nor sanitize the environment any
more. Yes: running a test case that depends on system state by hand
will most likely yield different results depending on where (machine,
directory, user environment, etc.) it is run. Isolation has been moved
to atf-run.
* Test programs no longer print a cryptic format (application/X-atf-tcs)
on a special file channel. They can now print whatever they want on
the screen. Because test programs can now only run one test case every
time, providing controlled output is not necessary any more.
* Test programs no longer write their status into a special file
descriptor. Instead, they create a file with the results, which is
later parsed by atf-run. This changes the semantics of the -r flag.
* atf-run has been adjusted to perform the test case isolation. As a
result, there is now a single canonical place that implements the
isolation of test caes. In previous releases, the three language
bindings (C, C++ and shell) had to be kept in sync with each other
(read: not a nice thing to do at all). As a side effect of this
change, writing bindings for other languages will be much, much easier
from now on.
* atf-run forks test programs on a test case basis, instead of on a test
program basis as it did before. This is to provide the test case
isolation that was before implemented by the test programs themselves.
* Removed the atf-exec tool. This was used to implement test case
isolation in atf-sh, but it is now unnecessary.
* It is now optional to define the descr meta-data property. It has been
proven to be mostly useless, because test cases often carry a
descriptive name of their own.
Diffstat (limited to 'devel/atf')
-rw-r--r-- | devel/atf/Makefile | 8 | ||||
-rw-r--r-- | devel/atf/PLIST | 168 | ||||
-rw-r--r-- | devel/atf/distinfo | 8 |
3 files changed, 107 insertions, 77 deletions
diff --git a/devel/atf/Makefile b/devel/atf/Makefile index 4165edd42e4..7cd314f96ca 100644 --- a/devel/atf/Makefile +++ b/devel/atf/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.10 2009/12/22 16:08:30 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2010/05/07 15:35:06 jmmv Exp $ # -DISTNAME= atf-0.7 +DISTNAME= atf-0.8 CATEGORIES= devel -MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.7/ +MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/jmmv/atf/0.8/ MAINTAINER= jmmv@NetBSD.org HOMEPAGE= http://www.NetBSD.org/~jmmv/atf/ @@ -12,7 +12,7 @@ LICENSE= 2-clause-bsd PKG_DESTDIR_SUPPORT= user-destdir -MAKE_JOBS_SAFE= no +MAKE_JOBS_SAFE= yes GNU_CONFIGURE= yes USE_LANGUAGES= c c++ diff --git a/devel/atf/PLIST b/devel/atf/PLIST index e192cbf8746..12b7389623c 100644 --- a/devel/atf/PLIST +++ b/devel/atf/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2009/12/22 16:08:30 jmmv Exp $ +@comment $NetBSD: PLIST,v 1.10 2010/05/07 15:35:06 jmmv Exp $ bin/atf-check bin/atf-compile bin/atf-config @@ -36,7 +36,6 @@ 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 include/atf-c/list.h @@ -45,7 +44,6 @@ 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 include/atf-c/tcr.h include/atf-c/text.h @@ -57,13 +55,11 @@ lib/libatf-c.la lib/pkgconfig/atf-c++.pc lib/pkgconfig/atf-c.pc libexec/atf-cleanup -libexec/atf-exec 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-exec.1 man/man1/atf-format.1 man/man1/atf-report.1 man/man1/atf-run.1 @@ -143,7 +139,6 @@ tests/atf/atf-c/d_include_dynstr_h.c tests/atf/atf-c/d_include_env_h.c tests/atf/atf-c/d_include_error_fwd_h.c tests/atf/atf-c/d_include_error_h.c -tests/atf/atf-c/d_include_expand_h.c tests/atf/atf-c/d_include_fs_h.c tests/atf/atf-c/d_include_io_h.c tests/atf/atf-c/d_include_list_h.c @@ -152,7 +147,6 @@ 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_signals_h.c tests/atf/atf-c/d_include_tc_h.c tests/atf/atf-c/d_include_tcr_h.c tests/atf/atf-c/d_include_text_h.c @@ -168,7 +162,6 @@ tests/atf/atf-c/t_config tests/atf/atf-c/t_dynstr tests/atf/atf-c/t_env tests/atf/atf-c/t_error -tests/atf/atf-c/t_expand tests/atf/atf-c/t_fs tests/atf/atf-c/t_h_lib tests/atf/atf-c/t_io @@ -177,12 +170,37 @@ 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 tests/atf/atf-c/t_tcr tests/atf/atf-c/t_text +tests/atf/atf-c/t_tp tests/atf/atf-c/t_ui tests/atf/atf-c/t_user +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 +tests/atf/atf-report/h_fail +tests/atf/atf-report/h_misc +tests/atf/atf-report/h_pass +tests/atf/atf-report/t_integration +tests/atf/atf-run/Atffile +tests/atf/atf-run/h_bad_metadata +tests/atf/atf-run/h_fail +tests/atf/atf-run/h_misc +tests/atf/atf-run/h_pass +tests/atf/atf-run/h_several_tcs +tests/atf/atf-run/h_zero_tcs +tests/atf/atf-run/t_config +tests/atf/atf-run/t_integration +tests/atf/atf-run/t_requirements +tests/atf/atf-run/t_test_program tests/atf/atf-sh/Atffile tests/atf/atf-sh/h_misc tests/atf/atf-sh/t_atf_check @@ -259,51 +277,78 @@ tests/atf/formats/d_headers_8 tests/atf/formats/d_headers_8.experr tests/atf/formats/d_headers_9 tests/atf/formats/d_headers_9.experr -tests/atf/formats/d_tcs_1 -tests/atf/formats/d_tcs_1.errin -tests/atf/formats/d_tcs_1.expout -tests/atf/formats/d_tcs_1.outin -tests/atf/formats/d_tcs_2 -tests/atf/formats/d_tcs_2.errin -tests/atf/formats/d_tcs_2.expout -tests/atf/formats/d_tcs_2.outin -tests/atf/formats/d_tcs_3 -tests/atf/formats/d_tcs_3.errin -tests/atf/formats/d_tcs_3.expout -tests/atf/formats/d_tcs_3.outin -tests/atf/formats/d_tcs_4 -tests/atf/formats/d_tcs_4.errin -tests/atf/formats/d_tcs_4.expout -tests/atf/formats/d_tcs_4.outin -tests/atf/formats/d_tcs_5 -tests/atf/formats/d_tcs_5.errin -tests/atf/formats/d_tcs_5.expout -tests/atf/formats/d_tcs_5.outin -tests/atf/formats/d_tcs_50 -tests/atf/formats/d_tcs_50.experr -tests/atf/formats/d_tcs_51 -tests/atf/formats/d_tcs_51.experr -tests/atf/formats/d_tcs_52 -tests/atf/formats/d_tcs_52.experr -tests/atf/formats/d_tcs_53 -tests/atf/formats/d_tcs_53.experr -tests/atf/formats/d_tcs_53.expout -tests/atf/formats/d_tcs_54 -tests/atf/formats/d_tcs_54.experr -tests/atf/formats/d_tcs_54.expout -tests/atf/formats/d_tcs_55 -tests/atf/formats/d_tcs_55.experr -tests/atf/formats/d_tcs_55.expout -tests/atf/formats/d_tcs_56 -tests/atf/formats/d_tcs_56.errin -tests/atf/formats/d_tcs_56.experr -tests/atf/formats/d_tcs_56.expout -tests/atf/formats/d_tcs_56.outin -tests/atf/formats/d_tcs_57 -tests/atf/formats/d_tcs_57.errin -tests/atf/formats/d_tcs_57.experr -tests/atf/formats/d_tcs_57.expout -tests/atf/formats/d_tcs_57.outin +tests/atf/formats/d_tcr_1 +tests/atf/formats/d_tcr_1.expout +tests/atf/formats/d_tcr_2 +tests/atf/formats/d_tcr_2.expout +tests/atf/formats/d_tcr_3 +tests/atf/formats/d_tcr_3.expout +tests/atf/formats/d_tcr_50 +tests/atf/formats/d_tcr_50.experr +tests/atf/formats/d_tcr_51 +tests/atf/formats/d_tcr_51.experr +tests/atf/formats/d_tcr_52 +tests/atf/formats/d_tcr_52.experr +tests/atf/formats/d_tcr_53 +tests/atf/formats/d_tcr_53.experr +tests/atf/formats/d_tcr_54 +tests/atf/formats/d_tcr_54.experr +tests/atf/formats/d_tcr_60 +tests/atf/formats/d_tcr_60.experr +tests/atf/formats/d_tcr_61 +tests/atf/formats/d_tcr_61.experr +tests/atf/formats/d_tcr_61.expout +tests/atf/formats/d_tcr_70 +tests/atf/formats/d_tcr_70.experr +tests/atf/formats/d_tcr_70.expout +tests/atf/formats/d_tcr_71 +tests/atf/formats/d_tcr_71.experr +tests/atf/formats/d_tcr_71.expout +tests/atf/formats/d_tcr_72 +tests/atf/formats/d_tcr_72.experr +tests/atf/formats/d_tcr_72.expout +tests/atf/formats/d_tcr_73 +tests/atf/formats/d_tcr_73.experr +tests/atf/formats/d_tcr_73.expout +tests/atf/formats/d_tcr_74 +tests/atf/formats/d_tcr_74.experr +tests/atf/formats/d_tcr_74.expout +tests/atf/formats/d_tcr_75 +tests/atf/formats/d_tcr_75.experr +tests/atf/formats/d_tcr_75.expout +tests/atf/formats/d_tcr_76 +tests/atf/formats/d_tcr_76.experr +tests/atf/formats/d_tcr_76.expout +tests/atf/formats/d_tcr_77 +tests/atf/formats/d_tcr_77.experr +tests/atf/formats/d_tp_1 +tests/atf/formats/d_tp_1.expout +tests/atf/formats/d_tp_2 +tests/atf/formats/d_tp_2.expout +tests/atf/formats/d_tp_3 +tests/atf/formats/d_tp_3.expout +tests/atf/formats/d_tp_4 +tests/atf/formats/d_tp_4.expout +tests/atf/formats/d_tp_50 +tests/atf/formats/d_tp_50.experr +tests/atf/formats/d_tp_51 +tests/atf/formats/d_tp_51.experr +tests/atf/formats/d_tp_52 +tests/atf/formats/d_tp_52.expout +tests/atf/formats/d_tp_53 +tests/atf/formats/d_tp_53.experr +tests/atf/formats/d_tp_54 +tests/atf/formats/d_tp_54.experr +tests/atf/formats/d_tp_55 +tests/atf/formats/d_tp_55.experr +tests/atf/formats/d_tp_56 +tests/atf/formats/d_tp_56.experr +tests/atf/formats/d_tp_57 +tests/atf/formats/d_tp_57.experr +tests/atf/formats/d_tp_58 +tests/atf/formats/d_tp_58.experr +tests/atf/formats/d_tp_59 +tests/atf/formats/d_tp_59.experr tests/atf/formats/d_tps_1 tests/atf/formats/d_tps_1.expout tests/atf/formats/d_tps_2 @@ -366,23 +411,8 @@ tests/atf/test_programs/Atffile tests/atf/test_programs/h_c tests/atf/test_programs/h_cpp tests/atf/test_programs/h_sh -tests/atf/test_programs/t_cleanup tests/atf/test_programs/t_config -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_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_report -tests/atf/tools/t_atf_run diff --git a/devel/atf/distinfo b/devel/atf/distinfo index ab6f3c4dfea..71f537fc105 100644 --- a/devel/atf/distinfo +++ b/devel/atf/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2009/12/22 16:08:30 jmmv Exp $ +$NetBSD: distinfo,v 1.8 2010/05/07 15:35:06 jmmv Exp $ -SHA1 (atf-0.7.tar.gz) = a77edf79576039374a3d88872b9059ac5f6d25aa -RMD160 (atf-0.7.tar.gz) = 38e9708a637696311c644cd1665b4753d6b8e939 -Size (atf-0.7.tar.gz) = 661714 bytes +SHA1 (atf-0.8.tar.gz) = a86416081f0381eaab2d7f1c129202f282335afd +RMD160 (atf-0.8.tar.gz) = 3fae9e5a121ed39ab8d5e56fffa5b7c436be66d1 +Size (atf-0.8.tar.gz) = 669187 bytes |