NetBSD/external/bsd/atf
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
..
dist Pull up revision 3becdd597a7f5f996eeceebf06ac7f77aaa7c30c from upstream: 2010-07-06 18:03:37 +00:00
etc Reference tests(7). 2010-06-26 11:27:50 +00:00
lib Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
share Adjust reachover makefiles for atf 0.9. 2010-06-04 08:33:40 +00:00
tests Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
usr.bin Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
Makefile Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00
prepare-import.sh Update reachover makefiles for atf 0.10. 2010-07-03 08:14:11 +00:00