NetBSD/external/bsd/atf/dist
jmmv d59f14065c Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream:
Catch and report unhandled exceptions before they propagate to C land

The C++ interface to run test cases goes like this:

    1) C++ run function -> 2) C run function -> 3) C++ wrapper for
    test case -> 4) test case head/body/cleanup

The previous code caught and reported unhandled exceptions in 1).
However, such approach does not seem to work everywhere.  It fails,
for example, in NetBSD/i386 but works in NetBSD/amd64.  I am not sure
which platform implementation is correct nor if there even _is_ a
defined behavior.  No matter what, it feels wrong and clunky.

Move the last-resort exception catching to happen in 3) so that
exceptions don't propagate back to C.

Fixes the test-programs/result_test:result_exception test case in
NetBSD/i386 5.99.34.
2010-07-06 18:03:37 +00:00
..
atf-c Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
atf-c++ Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream: 2010-07-06 18:03:37 +00:00
atf-check Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
atf-config Import atf 0.10: 2010-07-03 08:04:47 +00:00
atf-report Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
atf-run Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
atf-sh Import atf 0.10: 2010-07-03 08:04:47 +00:00
atf-version Remove file that should not be in the distribution so that atf-version gets 2010-07-05 14:20:59 +00:00
doc Import atf 0.10: 2010-07-03 08:04:47 +00:00
test-programs Import atf 0.10: 2010-07-03 08:04:47 +00:00
tests/atf/atf-report Fix merge conflicts for atf 0.10. 2010-07-03 08:11:25 +00:00
AUTHORS Import atf 0.10: 2010-07-03 08:04:47 +00:00
Atffile Import atf 0.10: 2010-07-03 08:04:47 +00:00
COPYING Import atf 0.10: 2010-07-03 08:04:47 +00:00
NEWS Import atf 0.10: 2010-07-03 08:04:47 +00:00
README Import atf 0.10: 2010-07-03 08:04:47 +00:00
atf-c++.hpp
atf-c.h

README

Introductory information                        Automated Testing Framework
===========================================================================


Introduction
************

The Automated Testing Framework (ATF) is a collection of libraries and
utilities designed to ease unattended application testing in the hands of
developers and end users of a specific piece of software.

As regards developers, ATF provides the necessary means to easily create
test suites composed of multiple test programs, which in turn are a
collection of test cases.  It also attempts to simplify the debugging of
problems when these test cases detect an error by providing as much
information as possible about the failure.

As regards users, it simplifies the process of running the test suites and,
in special, encourages end users to run them often: they do not need to
have source trees around nor any other development tools installed to be
able to certify that a given piece of software works on their machine as
advertised.


Other documents
***************

* AUTHORS: List of authors and contributors for this project.

* COPYING: License information.

* INSTALL: Compilation and installation instructions.  These is not the
  standard document shipped with many packages, so be sure to read it for
  things that are specific to ATF's build.

* NEWS: List of major changes between formal, published releases.


===========================================================================
vim: filetype=text:textwidth=75:expandtab:shiftwidth=2:softtabstop=2