Hi,

I have been trying to get a multi file test module to execute without success. I have the following setup:

// main.cpp
#define BOOST_TEST_MODULE example
#include <boost/test/unit_test.hpp>

// suite1.cpp
#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_SUITE(suite1);

BOOST_AUTO_TEST_CASE(test1)
{
...
}

BOOST_TEST_SUITE_END();

// suite2.cpp
#include <boost/test/unit_test.hpp>

BOOST_AUTO_TEST_SUITE(suite2);

BOOST_AUTO_TEST_CASE(test2)
{
...
}

BOOST_TEST_SUITE_END();

But only one of the two test cases runs. If I put the suites into the same .cpp file all the test cases are run. Is it possible to link against the static library variant of boost test and have a multi file test module? From what I understand it should be, but I can just find how.

Thank you.

--
Guillaume Dumont
=========================
dumont.guillaume@gmail.com