Boost logo

Boost Users :

From: Evan Carew (carew_at_[hidden])
Date: 2006-02-12 20:35:21


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gennadiy Rozental wrote:

>>The easiest way to do it is to have compiled boost libraries. This
>>means that you have run the bjam install procedure instead of just
>>copying the header files over to /usr/include/boost. With the libs
>>installed, you will need to put -lboost_unit_test_framework on your
>>boost link line.
>
>
>The easiest way is indeed to use a bjam.
>
>Just make bjam in boost/buils/src directory.
>Then run
>bjam -sTOOLS=gcc <example-name>
>
>This command will build both the library (put it in proper place) and an
>example.
>
>>You should now be OK, except for the fact that you
>>might find your test output a little disconcerting. I was expecting
>>something like PERL's test module output
>
>
>Why? In C++ we should expect something similal to what C++ compilers
>produce.
>

>>but instead got something
>>which looks like it was generated by g++'s compile error generator. On
>
>
>Yes. And VC++. But if you prefer different output format you could easily
>enough generate almost any desirable one.

Well, I had a look at your docs & came away with unresolved questions
regarding how to set differing output formats. The one method I found
was to set the log_level to none (which cuts out too much info) didn't
seem too appealing. What I was looking for was a way to print out the
progress messages (completing test xxx: succeeded/failed) and the
message with exceptions on it (just the one line), but nothing more. I
guess the question I have regarding formatting is, how do you create a
format & then tie it in to a test suite? If you can get me pointed in
the right direction I might be able to come up with something.

Evan Carew
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFD7+JZpxCQXwV2bJARAq9AAJ4jOCpg+CsSUF4hDLacLcuz+7SkGQCgqrtl
LJcwfEhkiUZu2O9Jjd04Lco=
=JTI6
-----END PGP SIGNATURE-----


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