[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bacula-devel] regression tests: test daemon start first


Hello Thomas,

Nice patch -- thanks, it will help cleanup the regression code -- especially 
for new comers or when I screw up with an installation or a patch :-)

On Thursday 12 June 2008 08:30:23 Thomas Mueller wrote:
> hi
>
> if build fails and not all daemons can start or there is an db error, it
> doesn't make much sense to run all tests an wait for timeout or status
> failed.
>
> so i created a new test "pretest" as CTEST_CUSTOM_PRE_TEST  which checks
> if bacula-fd,sd,dir are running and a simple bconsole command doesn't
> fail. if something fails, it exits with 1.
>
> also i added a return statement to function run_bacula, so that test
> scripts can know about the bconsole termination status.
>
> for me ctest returns 8 for status code "pretest failed, submission
> successfull".
>
> patches for trunk and branch-2.4 attached.
> nightly-experimental-pretest.trunk.patch applies also to branch-2.4.

Nice, thanks for doing both :-)

>
> attention: new executable file tests/pretest

Ah, thanks.  That is important.

I'm out tomorrow and most the weekend, so I will integrate this on Sunday or 
Monday when I get back.

Thanks again for the nice enhancement,

Kern



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.