Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/external/bsd/atf/dist
Module Name: src
Committed By: jmmv
Date: Sat Jul 3 08:04:57 UTC 2010
Update of /cvsroot/src/external/bsd/atf/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv19988
Log Message:
Import atf 0.10:
Miscellaneous features
* Added expected failures support to test cases and atf-run. These
include, for example, expected clean exits, expected reception of fatal
signals, expected timeouts and expected errors in condition checks.
These statuses can be used to denote test cases that are known to fail
due to a bug in the code they are testing. atf-report reports these
tests separately but they do not count towards the failed test cases
amount.
* Added the ATF_CHECK_ERRNO and ATF_REQUIRE_ERRNO to the C library to
allow easy checking of call failures that update errno.
* Added the has.cleanup meta-data property to test caes that specifies
whether the test case has a cleanup routine or not; its value is
automatically set. This property is read by atf-run to know if it has to
run the cleanup routine; skipping this run for every test case
significantly speeds up the run time of test suites.
* Reversed the order of the ATF_CHECK_THROW macro in the C++ binding to
take the expected exception as the first argument and the statement to
execute as the second argument.
Changes in atf-check
* Changed atf-check to support negating the status and output checks by
prefixing them with not- and added support to specify multiple checkers
for stdout and stderr, not only one.
* Added the match output checker to atf-check to look for regular
expressions in the stdout and stderr of commands.
* Modified the exit checks in atf-check to support checking for the
reception of signals.
Code simplifications and cleanups
* Removed usage messages from test programs to simplify the
implementation of every binding by a significant amount. They just now
refer the user to the appropriate manual page and do not attempt to wrap
lines on terminal boundaries. Test programs are not supposed to be run
by users directly so this minor interface regression is not important.
* Removed the atf-format internal utility, which is unused after the
change documented above.
* Removed the atf-cleanup internal utility. It has been unused since the
test case isolation was moved to atf-run in 0.8
* Splitted the Makefile.am into smaller files for easier maintenance and
dropped the use of M4. Only affects users building from the repository
sources.
* Intermixed tests with the source files in the source tree to provide
them more visibility and easier access. The tests directory is gone from
the source tree and tests are now suffixed by _test, not prefixed by t_.
* Simplifications to the atf-c library: removed the io, tcr and ui
modules as they had become unnecessary after all simplifications
introduced since the 0.8 release.
* Removed the application/X-atf-tcr format introduced in 0.8 release.
Tests now print a much simplified format that is easy to parse and nicer
to read by end users. As a side effect, the default for test cases is
now to print their results to stdout unless otherwise stated by providing
the -r flag.
* Removed XML distribution documents and replaced them with plain-text
documents. They provided little value and introduced a lot of complexity
to the build system.
* Simplified the output of atf-version by not attempting to print a
revision number when building form a distfile. Makes the build system
easier to maintain.
Status:
Vendor Tag: TNF
Release Tags: atf-0-10
U src/external/bsd/atf/dist/README
U src/external/bsd/atf/dist/atf-c.h
U src/external/bsd/atf/dist/atf-c++.hpp
U src/external/bsd/atf/dist/AUTHORS
U src/external/bsd/atf/dist/COPYING
U src/external/bsd/atf/dist/NEWS
N src/external/bsd/atf/dist/Atffile
U src/external/bsd/atf/dist/atf-c/error_fwd.h
U src/external/bsd/atf/dist/atf-c/build.h
U src/external/bsd/atf/dist/atf-c/check.h
U src/external/bsd/atf/dist/atf-c/config.h
U src/external/bsd/atf/dist/atf-c/dynstr.h
U src/external/bsd/atf/dist/atf-c/env.h
U src/external/bsd/atf/dist/atf-c/error.h
U src/external/bsd/atf/dist/atf-c/list.h
U src/external/bsd/atf/dist/atf-c/fs.h
U src/external/bsd/atf/dist/atf-c/process.h
U src/external/bsd/atf/dist/atf-c/macros.h
U src/external/bsd/atf/dist/atf-c/map.h
U src/external/bsd/atf/dist/atf-c/atf-c-api.3
U src/external/bsd/atf/dist/atf-c/sanity.h
U src/external/bsd/atf/dist/atf-c/tc.h
U src/external/bsd/atf/dist/atf-c/text.h
U src/external/bsd/atf/dist/atf-c/tp.h
U src/external/bsd/atf/dist/atf-c/user.h
U src/external/bsd/atf/dist/atf-c/process.c
U src/external/bsd/atf/dist/atf-c/config.c
U src/external/bsd/atf/dist/atf-c/defs.h.in
N src/external/bsd/atf/dist/atf-c/test_helpers.c
N src/external/bsd/atf/dist/atf-c/test_helpers.h
U src/external/bsd/atf/dist/atf-c/build.c
U src/external/bsd/atf/dist/atf-c/check.c
U src/external/bsd/atf/dist/atf-c/dynstr.c
U src/external/bsd/atf/dist/atf-c/env.c
U src/external/bsd/atf/dist/atf-c/error.c
C src/external/bsd/atf/dist/atf-c/fs.c
U src/external/bsd/atf/dist/atf-c/list.c
U src/external/bsd/atf/dist/atf-c/map.c
U src/external/bsd/atf/dist/atf-c/tp_main.c
U src/external/bsd/atf/dist/atf-c/sanity.c
U src/external/bsd/atf/dist/atf-c/text.c
U src/external/bsd/atf/dist/atf-c/user.c
C src/external/bsd/atf/dist/atf-c/tc.c
U src/external/bsd/atf/dist/atf-c/tp.c
N src/external/bsd/atf/dist/atf-c/config_test.c
N src/external/bsd/atf/dist/atf-c/h_build.h
N src/external/bsd/atf/dist/atf-c/atf_c_test.c
N src/external/bsd/atf/dist/atf-c/build_test.c
N src/external/bsd/atf/dist/atf-c/check_test.c
N src/external/bsd/atf/dist/atf-c/process_helpers.c
N src/external/bsd/atf/dist/atf-c/dynstr_test.c
N src/external/bsd/atf/dist/atf-c/env_test.c
N src/external/bsd/atf/dist/atf-c/error_test.c
N src/external/bsd/atf/dist/atf-c/fs_test.c
N src/external/bsd/atf/dist/atf-c/list_test.c
N src/external/bsd/atf/dist/atf-c/macros_test.c
N src/external/bsd/atf/dist/atf-c/map_test.c
N src/external/bsd/atf/dist/atf-c/tc_test.c
N src/external/bsd/atf/dist/atf-c/test_helpers_test.c
N src/external/bsd/atf/dist/atf-c/process_test.c
N src/external/bsd/atf/dist/atf-c/sanity_test.c
N src/external/bsd/atf/dist/atf-c/macros_h_test.c
N src/external/bsd/atf/dist/atf-c/text_test.c
N src/external/bsd/atf/dist/atf-c/tp_test.c
N src/external/bsd/atf/dist/atf-c/user_test.c
U src/external/bsd/atf/dist/atf-c/atf-c.pc.in
N src/external/bsd/atf/dist/atf-c/Atffile
N src/external/bsd/atf/dist/atf-c/pkg_config_test.sh
N src/external/bsd/atf/dist/atf-c++/application_test.cpp
U src/external/bsd/atf/dist/atf-c++/application.hpp
U src/external/bsd/atf/dist/atf-c++/build.hpp
U src/external/bsd/atf/dist/atf-c++/check.hpp
U src/external/bsd/atf/dist/atf-c++/config.hpp
U src/external/bsd/atf/dist/atf-c++/env.hpp
U src/external/bsd/atf/dist/atf-c++/exceptions.hpp
U src/external/bsd/atf/dist/atf-c++/expand.hpp
U src/external/bsd/atf/dist/atf-c++/fs.hpp
U src/external/bsd/atf/dist/atf-c++/io.hpp
U src/external/bsd/atf/dist/atf-c++/macros.hpp
U src/external/bsd/atf/dist/atf-c++/parser.hpp
U src/external/bsd/atf/dist/atf-c++/process.hpp
U src/external/bsd/atf/dist/atf-c++/sanity.hpp
U src/external/bsd/atf/dist/atf-c++/signals.hpp
C src/external/bsd/atf/dist/atf-c++/tests.hpp
U src/external/bsd/atf/dist/atf-c++/text.hpp
U src/external/bsd/atf/dist/atf-c++/ui.hpp
U src/external/bsd/atf/dist/atf-c++/user.hpp
U src/external/bsd/atf/dist/atf-c++/utils.hpp
U src/external/bsd/atf/dist/atf-c++/atf-c++-api.3
N src/external/bsd/atf/dist/atf-c++/test_helpers.cpp
U src/external/bsd/atf/dist/atf-c++/build.cpp
N src/external/bsd/atf/dist/atf-c++/test_helpers.hpp
U src/external/bsd/atf/dist/atf-c++/application.cpp
U src/external/bsd/atf/dist/atf-c++/check.cpp
U src/external/bsd/atf/dist/atf-c++/config.cpp
U src/external/bsd/atf/dist/atf-c++/env.cpp
U src/external/bsd/atf/dist/atf-c++/exceptions.cpp
U src/external/bsd/atf/dist/atf-c++/expand.cpp
U src/external/bsd/atf/dist/atf-c++/fs.cpp
U src/external/bsd/atf/dist/atf-c++/io.cpp
U src/external/bsd/atf/dist/atf-c++/parser.cpp
U src/external/bsd/atf/dist/atf-c++/process.cpp
U src/external/bsd/atf/dist/atf-c++/signals.cpp
C src/external/bsd/atf/dist/atf-c++/tests.cpp
U src/external/bsd/atf/dist/atf-c++/text.cpp
U src/external/bsd/atf/dist/atf-c++/ui.cpp
U src/external/bsd/atf/dist/atf-c++/user.cpp
N src/external/bsd/atf/dist/atf-c++/atf_c++_test.cpp
N src/external/bsd/atf/dist/atf-c++/build_test.cpp
N src/external/bsd/atf/dist/atf-c++/check_test.cpp
N src/external/bsd/atf/dist/atf-c++/config_test.cpp
N src/external/bsd/atf/dist/atf-c++/env_test.cpp
N src/external/bsd/atf/dist/atf-c++/expand_test.cpp
N src/external/bsd/atf/dist/atf-c++/Atffile
N src/external/bsd/atf/dist/atf-c++/exceptions_test.cpp
N src/external/bsd/atf/dist/atf-c++/macros_test.cpp
N src/external/bsd/atf/dist/atf-c++/fs_test.cpp
N src/external/bsd/atf/dist/atf-c++/io_test.cpp
N src/external/bsd/atf/dist/atf-c++/macros_hpp_test.cpp
N src/external/bsd/atf/dist/atf-c++/parser_test.cpp
N src/external/bsd/atf/dist/atf-c++/process_test.cpp
N src/external/bsd/atf/dist/atf-c++/sanity_test.cpp
N src/external/bsd/atf/dist/atf-c++/signals_test.cpp
N src/external/bsd/atf/dist/atf-c++/tests_test.cpp
N src/external/bsd/atf/dist/atf-c++/text_test.cpp
N src/external/bsd/atf/dist/atf-c++/ui_test.cpp
N src/external/bsd/atf/dist/atf-c++/user_test.cpp
N src/external/bsd/atf/dist/atf-c++/utils_test.cpp
U src/external/bsd/atf/dist/atf-c++/atf-c++.pc.in
N src/external/bsd/atf/dist/atf-c++/pkg_config_test.sh
C src/external/bsd/atf/dist/atf-check/atf-check.1
N src/external/bsd/atf/dist/atf-check/integration_test.sh
U src/external/bsd/atf/dist/atf-check/atf-check.cpp
N src/external/bsd/atf/dist/atf-check/Atffile
U src/external/bsd/atf/dist/atf-config/atf-config.1
N src/external/bsd/atf/dist/atf-config/integration_test.sh
U src/external/bsd/atf/dist/atf-config/atf-config.cpp
N src/external/bsd/atf/dist/atf-config/Atffile
U src/external/bsd/atf/dist/atf-report/atf-report.1
U src/external/bsd/atf/dist/atf-report/tests-results.css
C src/external/bsd/atf/dist/atf-report/atf-report.cpp
N src/external/bsd/atf/dist/atf-report/reader.cpp
N src/external/bsd/atf/dist/atf-report/reader.hpp
N src/external/bsd/atf/dist/atf-report/fail_helper.cpp
N src/external/bsd/atf/dist/atf-report/misc_helpers.cpp
N src/external/bsd/atf/dist/atf-report/pass_helper.cpp
N src/external/bsd/atf/dist/atf-report/reader_test.cpp
U src/external/bsd/atf/dist/atf-report/tests-results.dtd
U src/external/bsd/atf/dist/atf-report/tests-results.xsl
N src/external/bsd/atf/dist/atf-report/Atffile
N src/external/bsd/atf/dist/atf-report/integration_test.sh
U src/external/bsd/atf/dist/atf-run/atf-run.1
U src/external/bsd/atf/dist/atf-run/requirements.cpp
C src/external/bsd/atf/dist/atf-run/atf-run.cpp
N src/external/bsd/atf/dist/atf-run/atffile.cpp
N src/external/bsd/atf/dist/atf-run/atffile.hpp
U src/external/bsd/atf/dist/atf-run/config.cpp
U src/external/bsd/atf/dist/atf-run/config.hpp
N src/external/bsd/atf/dist/atf-run/fs.cpp
N src/external/bsd/atf/dist/atf-run/fs.hpp
N src/external/bsd/atf/dist/atf-run/bad_metadata_helper.c
U src/external/bsd/atf/dist/atf-run/requirements.hpp
C src/external/bsd/atf/dist/atf-run/test-program.cpp
C src/external/bsd/atf/dist/atf-run/test-program.hpp
U src/external/bsd/atf/dist/atf-run/timer.cpp
U src/external/bsd/atf/dist/atf-run/timer.hpp
N src/external/bsd/atf/dist/atf-run/atffile_test.cpp
N src/external/bsd/atf/dist/atf-run/requirements_test.cpp
N src/external/bsd/atf/dist/atf-run/config_test.cpp
N src/external/bsd/atf/dist/atf-run/expect_helpers.c
N src/external/bsd/atf/dist/atf-run/Atffile
N src/external/bsd/atf/dist/atf-run/fs_test.cpp
N src/external/bsd/atf/dist/atf-run/misc_helpers.cpp
N src/external/bsd/atf/dist/atf-run/pass_helper.cpp
N src/external/bsd/atf/dist/atf-run/test_program_test.cpp
N src/external/bsd/atf/dist/atf-run/several_tcs_helper.c
N src/external/bsd/atf/dist/atf-run/zero_tcs_helper.c
N src/external/bsd/atf/dist/atf-run/integration_test.sh
U src/external/bsd/atf/dist/atf-run/sample/atf-run.hooks
U src/external/bsd/atf/dist/atf-run/share/atf-run.hooks
U src/external/bsd/atf/dist/atf-sh/atf-sh-api.3
U src/external/bsd/atf/dist/atf-sh/atf-sh.1
N src/external/bsd/atf/dist/atf-sh/atf_check_test.sh
U src/external/bsd/atf/dist/atf-sh/atf-sh.cpp
U src/external/bsd/atf/dist/atf-sh/libatf-sh.subr
N src/external/bsd/atf/dist/atf-sh/Atffile
N src/external/bsd/atf/dist/atf-sh/misc_helpers.sh
N src/external/bsd/atf/dist/atf-sh/integration_test.sh
N src/external/bsd/atf/dist/atf-sh/config_test.sh
N src/external/bsd/atf/dist/atf-sh/normalize_test.sh
N src/external/bsd/atf/dist/atf-sh/tc_test.sh
N src/external/bsd/atf/dist/atf-sh/tp_test.sh
N src/external/bsd/atf/dist/atf-version/generate-revision.sh
U src/external/bsd/atf/dist/atf-version/atf-version.1
C src/external/bsd/atf/dist/atf-version/atf-version.cpp
N src/external/bsd/atf/dist/atf-version/revision.h
U src/external/bsd/atf/dist/doc/atf-test-program.1
U src/external/bsd/atf/dist/doc/atf-formats.5
U src/external/bsd/atf/dist/doc/atf-test-case.4
U src/external/bsd/atf/dist/doc/atf.7.in
N src/external/bsd/atf/dist/test-programs/meta_data_test.sh
N src/external/bsd/atf/dist/test-programs/c_helpers.c
N src/external/bsd/atf/dist/test-programs/cpp_helpers.cpp
N src/external/bsd/atf/dist/test-programs/Atffile
N src/external/bsd/atf/dist/test-programs/common.sh
N src/external/bsd/atf/dist/test-programs/sh_helpers.sh
N src/external/bsd/atf/dist/test-programs/config_test.sh
N src/external/bsd/atf/dist/test-programs/expect_test.sh
N src/external/bsd/atf/dist/test-programs/fork_test.sh
N src/external/bsd/atf/dist/test-programs/result_test.sh
N src/external/bsd/atf/dist/test-programs/srcdir_test.sh
10 conflicts created by this import.
Use the following command to help the merge:
cvs checkout -jTNF:yesterday -jTNF src/external/bsd/atf/dist
Home |
Main Index |
Thread Index |
Old Index