httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: perl-framework server startup
Date Wed, 09 Jan 2002 17:09:33 GMT
Rodent of Unusual Size wrote:

> Here I come, being a pain again..
> 
> I'd like to be able to differentiate between a failure
> of some tests and failure of the harness.  That is,
> if some of the tests failed, that may be expected --
> but if the harness fails, I want to be able to say
> 'whoa.'
> 
> This turned up in last night's run of my autotester,
> which now displays the t/logs/error_log if it detects
> a error exit code from t/TEST.  The harness ran just
> fine, but some of the tests failed -- so I got the
> 2MB error_log even though I didn't want it.  I [currently]
> only want to see the error_log if the *harness* failed.
> 
> Suggestions?  Maybe ORing the status with some value
> (like 0x1000) if the failure was in the harness itself
> (e.g., unable to start the server)?

There may be many reasons for harness failure, so it seems to me that 
it'll be much easier to have a special failure status code for failing 
tests, no?


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:stas@stason.org  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/



Mime
View raw message