Boost logo

Boost :

From: Joe Van Dyk (joevandyk_at_[hidden])
Date: 2006-07-06 22:40:55

I'm trying to get something like the following to work:

test_case1.cpp and test_cast2.cpp are compiled into a static library
(libtest.a). They use BOOST_AUTO_TEST_CASE for test cases.

test_main.cpp contains:
#include <boost/test/auto_unit_test.hpp>

However, when I compile test_main.cpp and link libtest.a into it, none
of the test cases run.

The test cases do run if test_main.cpp #includes test_case1.cpp and
test_case2.cpp, but I'd rather not do that if it's not necessary.

Any ideas?


Joe Van Dyk

Boost list run by bdawes at, gregod at, cpdaniel at, john at