|
From: Luigi B. <lui...@gm...> - 2010-08-04 13:43:35
|
On Fri, 2010-07-30 at 22:50 +0200, Kim Kuen Tang wrote: > test cases in quantlib are registered using free functions instead of > arguments. So i am afraid that this is not possible. > Take a look at test-suite\utilities.hpp on line 63. It uses > BOOST_TEST_CASE instead of BOOST_AUTO_TEST_CASE. A workaround would be u > just comment the tests out in file quantlibtestsuite.hpp that you dont > want to run. Kim, it's been a while since I've looked at the Boost unit-test framework, so I'm not familiar with the most recent stuff. Would you suggest switching to BOOST_AUTO_TEST_CASE? If so, would you consider writing a patch to do that? Luigi -- I have yet to see any problem, however complicated, which, when you looked at it in the right way, did not become still more complicated. -- Poul Anderson |