From: Amine I. <ami...@gm...> - 2025-02-13 13:49:22
|
Hi Team, Hope you are well. I am reaching out as I am using an old version of QuantLib built with boost 1_83_0. The library builds fine as its own dynamic library target, and I build the suite of tests as a separate Target linking to the QuantLib dylib. The tests also build fine. However, when running the suite of tests, I get the following error message: *Test setup error: test unit with name 'QuantLib__detail__quantlib_test_case(boost__bind(&BasketOptionTest__testOneDAmericanValues_ (i _(sizeof(oneDataValues)_sizeof(oneDataValues[0])))_nTestCases_ ((i_1)_(sizeof(oneDataValues)_sizeof(oneDataValues[0])))_nTestCases))' registered multiple times in the test suite 'Basket option tests'* I use the preprocessing variable BOOST_TEST_DYN_LINK to enable the inclusion of the main function, but I don't use the parallel runner for the tests. Any suggestions on how to tackle this problem will be very much appreciated. Thanks, Amine |