Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost Build test case count.
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-02-22 11:56:51


On Sunday 22 February 2009 19:13:08 Jurko Gospodnetić wrote:
> Hi.

Hi Jurko,

>
> I was wondering why Boost Build's test system (run by test_all.py)
> reports the total number of tests run as 'PASS: ##' and the total number
> of failed tests as 'FAIL: ##'.

Oh :-)

> Would it not be better to report the number of successfully passed
> tests as 'PASS: ##'?
>
> Attached is a patch implementing this change.
>
> Description:
> ----------------------
> Makes the Boost Build testing system correctly report the number of
> passed test cases instead of always reporting all test cases as passed.
> ----------------------
>
> I do not feel comfortable applying the patch directly since I've been
> away from Boost Build for a while I'm afraid to mess up the new test
> system and its integration to the Boost Library test suite. Although, at
> a second glance this value does not seem to be used with xml result
> logging and my hunch is that that is the system used to deliver the test
> results to the Boost Library test reporting framework.

I think your patch is safe, exactly because xml reporting does not use
this information.

Thanks,
Volodya


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