Test case failures on OSX

Posted by Mark Treiber-2 on
URL: http://quantlib.414.s1.nabble.com/Test-case-failures-on-OSX-tp10665.html

I've finally been able to get around to testing the one of the 0.3.8
gm releases and I had two test case failures on OSX.  I wanted to
check to see if others are getting the same failures on other
platforms or not before investigating further.  One of the failures
seems to be a precision based failure (this was the case for a test
case failure in 0.3.6 that was fixed) but the other one seems
universal.  The test case output is below.

Running 172 test cases...
bonds.cpp(182): fatal error in "BondTest::testCachedYield": failed to
reproduce cached price:
    calculated: 99.223769
    expected:   99.204505
    error:      0.019264
Exception in "CapFloorTest::testCachedValue": std::exception:
indexmanager.cpp:30: In function `const QuantLib::History&
QuantLib::IndexManager::getHistory(const std::string&) const':
Euribor6m act/360 history not loaded
Exception in "MoneyTest::testBaseCurrency": std::exception:
exchangeratemanager.cpp:170: In function `QuantLib::ExchangeRate
QuantLib::ExchangeRateManager::smartLookup(const QuantLib::Currency&,
const QuantLib::Currency&, const QuantLib::Date&, std::list<Integer,
std::allocator<Integer> >) const':
no conversion available from GBP to EUR for December 10th, 2004
Exception in "MoneyTest::testAutomated": std::exception:
exchangeratemanager.cpp:170: In function `QuantLib::ExchangeRate
QuantLib::ExchangeRateManager::smartLookup(const QuantLib::Currency&,
const QuantLib::Currency&, const QuantLib::Date&, std::list<Integer,
std::allocator<Integer> >) const':
no conversion available from EUR to GBP for December 10th, 2004
piecewiseflatforward.cpp(228): fatal error in
"PiecewiseFlatForwardTest::testObservability": Observer was not
notified of date change
Exception in "SwapTest::testCachedValue": std::exception:
indexmanager.cpp:30: In function `const QuantLib::History&
QuantLib::IndexManager::getHistory(const std::string&) const':
Euribor6m act/360 history not loaded

These were all run with the Dec 9 gm source dist.

Mark.