It seems to have been a problem with the Windows runtime libraries.
I'm used to link to the release versions of the image libraries and
that might have screwed things up. After compiling all those image
libs into debug versions I can now run the debug version of my test
suite. Cool.
Too bad that all of this took too much time to figure out. I apologize
if I have wasted someone's time. :-(
Regards,
Christian
On Thu, Apr 30, 2009 at 3:11 PM, Christian Henning
Hi there,
bmp_test.cpp: namespace bmp_test { BOOST_AUTO_TEST_CASE( read_image_test ) {} }
png_test.cpp: namespace png_test { BOOST_AUTO_TEST_CASE( read_image_test ) {} }
I hope such use case is fine with boost::test.
It probably isn't. Boost.Test uses the name as an identifier to select the tests to run and it doesn't know about namespaces. It ought to work if you put the tests in different test suites.
I have gotten rid of all namespaces and are now enforcing unique names for all my test cases. Usually if there equal names around the linker complains. I compiled, but still the same error occurs.
I have checked in the recent changes in case someone would like to try by himself.
Regards, Christian