|
Boost Testing : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-10-30 11:55:33
on Mon Oct 29 2007, "Gennadiy Rozental" <rogeeff-AT-gmail.com> wrote:
> "David Abrahams" <dave_at_[hidden]> wrote in message
> news:87y7dldcbq.fsf_at_grogan.peloton...
>>
>> on Mon Oct 22 2007, Gennadiy Rozental <rogeeff-AT-gmail.com> wrote:
>>
>>> David Abrahams <dave <at> boost-consulting.com> writes:
>>>
>>>>
>>>>
>>>> As I was trying to set up a bitten continuous integration server, I
>>>> ran across
>>>>
>>>> http://bitten.edgewall.org/wiki/BoostTest
>>>>
>>>> I have no idea who wrote this page, but it's pretty cool. Does anyone
>>>> here have experience with it? Do we have the page's author?
>>>>
>>>
>>>
>>> Not me ;)
>>>
>>> But xml output was intended to be used this way.
>>
>> Unfortunately I need to somehow get the XML output to be sent to
>> stdout instead of stderr. Is there an option that I can use with
>> Boost.Test to accomplish it?
>
> Sending both test log and test report into the same stream doesn't make
> sense (it won't produce a valid xml). But if you are willing to sacrify test
> log (use --log_level=nothing)
Yes, that's what the page above does.
> you can use regular redirect.
Except that you can't use shell redirection when invoking commands
through popen et. al.
> Why can't you use stderr?
I don't know; I'm only just learning about Bitten.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com