Boost logo

Boost Testing :

From: Roland Schwarz (roland.schwarz_at_[hidden])
Date: 2007-02-15 07:42:50


The file expected_results.xml looks like being important for what gets
displayed on the regression tables. And so I think it is also relevant
for making progress with regression testing towards a release.
(This is why I CC'ed Thomas Witt.)

I was unable to find any documentation about this file or it's purpose.

My attention was triggered because this file seems to be responsible how
toolset tagging works. (i.e. aliasing works)

My questions:

0) Is there somewhere a description available?

1) Is this file supposed to be edited by means of a plain text editor,
    e.g. vi?

2) If this file is supposed to be edited by a plain text editor, may I
    please check in a version of the file that has suitable enough line-
    breaks, so that it can be edited, and does not look like a long
    string of garbage?

3) After having reformated the file I discovered, that there is a _lot_
    of double entries. e.g.

<toolset name="mingw-3_3_1">

<library name="algorithm/minmax">
<test-result test-name="minmax" result="success"/>
<test-result test-name="minmax_element" result="success"/>
<test-result test-name="minmax" result="success"/>
<test-result test-name="minmax_element" result="success"/>
</library>

<library name="algorithm/string">
<test-result test-name="container" result="success"/>
<test-result test-name="conv" result="success"/>
<test-result test-name="find" result="success"/>
<test-result test-name="predicate" result="success"/>
<test-result test-name="regex" result="success"/>
<test-result test-name="replace" result="success"/>
<test-result test-name="split" result="success"/>
<test-result test-name="trim" result="success"/>
<test-result test-name="container" result="success"/>
<test-result test-name="conv" result="success"/>
<test-result test-name="find" result="success"/>
<test-result test-name="predicate" result="success"/>
<test-result test-name="regex" result="success"/>
<test-result test-name="replace" result="success"/>
<test-result test-name="split" result="success"/>
<test-result test-name="trim" result="success"/>
</library>

   Wouldn't it be meaningful to remove these doublets, so the result
   rather will read:

<toolset name="mingw-3_3_1">

<library name="algorithm/minmax">
<test-result test-name="minmax" result="success"/>
<test-result test-name="minmax_element" result="success"/>
</library>

<library name="algorithm/string">
<test-result test-name="container" result="success"/>
<test-result test-name="conv" result="success"/>
<test-result test-name="find" result="success"/>
<test-result test-name="predicate" result="success"/>
<test-result test-name="regex" result="success"/>
<test-result test-name="replace" result="success"/>
<test-result test-name="split" result="success"/>
<test-result test-name="trim" result="success"/>
</library>

Thank you for attention.

Roland


Boost-testing list run by mbergal at meta-comm.com