Boost logo

Boost Users :

Subject: Re: [Boost-users] [Boost.Test] does not always include checkpoint information
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-12-02 14:34:40


Peter Soetens <peter.soetens <at> gmail.com> writes:

>
> I'm using boost 1.40. When parsing the output of a Boost.Test xml file, I
> sometimes get this error:
>
> "test-result.xml:cvc-complex-type.2.4.b: The content of element 'Exception' is
> not complete. One of '{LastCheckpoint}' is expected." (output from Hudson Test
> plugin).

Can't really comment on this output. This is something generated by your tool.
Can you should the Boost.Test xml?
 
> It appears that It does not consider the entry point of the unit test function
> as a checkpoint, while the documentation says it does.

I do not believe so. Can you point me to the relevant page?

> I can 'fix' this by
> inserting check/pass points at the beginning of every function, but shouldn't
> Boost.Test do this automatically ?

Test log output reports test case enter/exit events, thus you should be able to
figure this out already.

Gennadiy


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net