Subject: Re: [Boost-build] Leave target on failure?
From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2009-12-11 02:52:28
Johan Nilsson wrote:
> I've discovered a "minor" design flaw in my NUnit generator under
> development (same as previously discussed here).
> The generator generates two main outputs (if XML output is activated):
> - The "target name".nunit file, used to detect if the tests are
> and were run successfully.
> - The XML report, used to store details on tests run and their
> Now, when one or more of the tests fail at runtime, the XML report is
> deleted as well - which is obviously not what I'd like. What would be
> best design for allowing to leave the XML report behind, if:
> 1. The tests are actually run (no problems with e.g. the test runner
> being able to find or load the shared libraries containing the tests,
> their runtime dependencies).
> 2. One or more of the tests fail at runtime (the test runner then
> exits with
> a non-zero status code).
> If (1) above fails, i.e. there is a problem with the actual runner
> execution, I think the XML report should get deleted as no tests were
> actually created.
> Any comments / design suggestions?
> / Johan
> Unsubscribe & other changes:
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk