From: Gennadiy E. Rozental <rogeeff_at_[hidden] (rogeeff_at_[hidden])
Date: 2003-02-19 00:41:21
--- In jamboost_at_[hidden], David Abrahams <dave_at_b...> wrote:
> "Gennadiy E. Rozental <rogeeff_at_e...>" <rogeeff_at_e...> writes:
> > Hi
> > I am using pattern based scheme for Boost.Test unit testing. In
> > if test is failing the only thing that I am getting is number of
> > failures. What I would like to happend is that if test is
> > then it is run second time with option "--save_pattern=yes" and
> > produced pattern file stored somewhere. And it would be great if
> > regression test results would provide the link to it.
> > Any way to implement this in bounds of Boost.Build?
> Yes, it's doable, but no, I want to try to do it.
This statement confuses me o bit. Couldn't you rephrase it?
> It would be a lot of work for me.
In fact I meant "implement in Jamfile in bounds of existent
> Why not just always run with --save_pattern=yes?
--save_pattern is the switch between match and save mode. In match
mode it perform matching vs. file content (i.e. real testing). While
in save mode it store strings into file for further use for
matching. This way I may check that output is the same as it was
before (i.e. correct)
However, if test is failing I would like to know what output was
produced in fact. It would help me to find the source of error.
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