[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] RFC: test framework exit handler
From: |
Colin Walters |
Subject: |
Re: [Gnu-arch-users] RFC: test framework exit handler |
Date: |
Mon, 20 Oct 2003 10:01:03 -0400 |
On Mon, 2003-10-20 at 05:59, Robin Farine wrote:
> A replacement for the commented out trap "test_fail" ERR might go like
> this:
The only purpose for that was cosmetic, really: to print out "TEST 9:
FAILED" or the like.
> In test-framework, the exit handler handles a possible error case by
> calling "test_failure", then it calls $test_cleanup if this variable
> has a non-empty value, i.e. contains the name of the test case's
> cleanup function.
What do you want to accomplish here? I think it's a *feature* that the
test area isn't cleaned up after a failure; it lets you easily go in and
investigate.
signature.asc
Description: This is a digitally signed message part