Boost logo

Boost Users :

From: Sakharuk, Vlad \(GMI Development\) (Vlad_Sakharuk_at_[hidden])
Date: 2007-06-29 14:48:59


Hi all,
 
here is my code:
 
#define BOOST_AUTO_TEST_MAIN
#include <boost/test/auto_unit_test.hpp>
 
BOOST_AUTO_TEST_CASE( test1 )
{
  BOOST_CHECK(true);
}

 
I link it dynamically with boost ver 1.3.3.1 with gcc-3.4.4 on Linux
2.6.
(Note I did not compile this library myself.)
 
However there is a lot of other libraries linked to the module but never
used.
 
Bellow is output I am getting. I suspect that other libraries have
embedded boost tests. BUT
1) There is no test1 in my output.
2) How I can remove all unnecessary test and stick only to those in my
files only?
 
Here is command I have used
 
test1 --output_format=XML --log_level=success
 
Thanks Vlad.
 
 
 
** Demo doc read from disk: **
 
** Printing via doc.Print **
<?xml version="1.0" standalone="no" ?>
<!-- Our to do list data -->
<ToDo>
    <!-- Do I need a secure PDA? -->
    <Item priority="1" distance="close">Go to the
        <bold>Toy store!</bold>
    </Item>
    <Item priority="2" distance="none">Do bills</Item>
    <Item priority="2" distance="far &amp; back">Look for Evil
Dinosaurs!</Item>
</ToDo>
** Printing via TiXmlPrinter **
<?xml version="1.0" standalone="no" ?>
<!-- Our to do list data -->
<ToDo>
    <!-- Do I need a secure PDA? -->
    <Item priority="1" distance="close">
        Go to the
        <bold>Toy store!</bold>
    </Item>
    <Item priority="2" distance="none">Do bills</Item>
    <Item priority="2" distance="far &amp; back">Look for Evil
Dinosaurs!</Item>
</ToDo>
** Printing via operator<< **
<?xml version="1.0" standalone="no" ?><!-- Our to do list data
--><ToDo><!-- Do I need a secure PDA? --><Item priority="1"
distance="close">Go to the<bold>Toy store!</bold></Item><Item
priority="2" distance="none">Do bills</Item><Item priority="2"
distance="far &amp; back">Look for Evil Dinosaurs!</Item></ToDo>
** Demo doc processed: **
 
<?xml version="1.0" standalone="no" ?>
<!-- Our to do list data -->
<ToDo>
    <!-- Do I need a secure PDA? -->
    <Item priority="2" distance="close">Go to the
        <bold>Toy store!</bold>
    </Item>
    <Item priority="1" distance="far">Talk to:
        <Meeting where="School">
            <Attendee name="Marple" position="teacher" />
            <Attendee name="Voel" position="counselor" />
        </Meeting>
        <Meeting where="Lunch" />
    </Item>
    <Item priority="2" distance="here">Do bills</Item>
</ToDo>
** Demo doc processed to stream: **
 
<?xml version="1.0" standalone="no" ?><!-- Our to do list data
--><ToDo><!-- Do I need a secure PDA? --><Item priority="2"
distance="close">Go to the<bold>Toy store!</bold></Item><Item
priority="1" distance="far">Talk to:<Meeting where="School"><Attendee
name="Marple" position="teacher" /><Attendee name="Voel"
position="counselor" /></Meeting><Meeting where="Lunch" /></Item><Item
priority="2" distance="here">Do bills</Item></ToDo>
 
** Basic structure. **
[pass] Output stream correct.
[pass] Root element exists. [1][1]
[pass] Root element value is 'ToDo'. [ToDo][ToDo]
[pass] First child exists & is a comment. [1][1]
[pass] Sibling element exists & is an element. [1][1]
[pass] Value is 'Item'. [Item][Item]
[pass] First child exists. [1][1]
[pass] Value is 'Go to the'. [Go to the][Go to the]
 
** Iterators. **
[pass] Top level nodes, using First / Next. [3][3]
[pass] Top level nodes, using Last / Previous. [3][3]
[pass] Top level nodes, using IterateChildren. [3][3]
[pass] Children of the 'ToDo' element, using First / Next. [3][3]
[pass] 'Item' children of the 'ToDo' element, using First/Next. [3][3]
[pass] 'Item' children of the 'ToDo' element, using Last/Previous.
[3][3]
 
** Parsing. **
[pass] Element parsed, value is 'Element0'. [Element0][Element0]
[pass] Reads attribute 'attribute0="foo0"'. [foo0][foo0]
[pass] Reads incorrectly formatted 'attribute1=noquotes'.
[noquotes][noquotes]
[pass] Read attribute with entity value '>'. [>][>]
[pass] Error row [3][3]
[pass] Error column [17][17]
 
** Streaming. **
[pass] Stream round trip correct.
[pass] String printing correct.
[pass] Query attribute: int as double [0][0]
[pass] Query attribute: int as double [1][1]
[pass] Query attribute: double as double [2][2]
[pass] Query attribute: double as int [0][0]
[pass] Query attribute: double as int [2][2]
[pass] Query attribute: not a number [2][2]
[pass] Query attribute: does not exist [1][1]
[pass] Location tracking: Tab 8: room row [1][1]
[pass] Location tracking: Tab 8: room col [49][49]
[pass] Location tracking: Tab 8: doors row [1][1]
[pass] Location tracking: Tab 8: doors col [55][55]
[pass] Location tracking: Declaration row [1][1]
[pass] Location tracking: Declaration col [5][5]
[pass] Location tracking: room row [1][1]
[pass] Location tracking: room col [45][45]
[pass] Location t
 
 
etc ...
--------------------------------------------------------

This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing.
--------------------------------------------------------



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