
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. 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, but instead got something which looks like it was generated by g++'s compile error generator. On the other hand, you might want to have a look at cxxtext at http://cxxtest.sourceforge.net/guide.html Evan yinglcs2@yahoo.com wrote:
Hi,
I would like to try the boost test library.
I see the example here, but I don't know how to compile and run it on Linux, Can anyone please help? /home/yinglcs/data/src/boost_1_33_1/libs/test/example
Thank you. Sam
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD75ZMpxCQXwV2bJARAo+WAJ49phPUJIhfs6vFmdKOPy2rJcQEVwCgya3s ECi0e8H/+X3wK3sXK0RXDNw= =eKNJ -----END PGP SIGNATURE-----