runner.addTest(OldPricerTest::suite());
int main() {    CppUnit::TextUi::TestRunner runner;    QLTestListener qlListener;    runner.eventManager().addListener(&qlListener);    runner.addTest(new MersenneTwisterTest());    runner.addTest(new DistributionTest);    runner.addTest(OldPricerTest::suite());    runner.addTest(CapFloorTest::suite());    runner.addTest(SwaptionTest::suite());    runner.addTest(new CalendarTest);    runner.addTest(new CovarianceTest);    runner.addTest(new DateTest);    runner.addTest(new DayCounterTest);    runner.addTest(EuropeanOptionTest::suite());    runner.addTest(InstrumentTest::suite());    runner.addTest(new IntegralTest);    runner.addTest(MarketElementTest::suite());    runner.addTest(new OperatorTest);    runner.addTest(new PiecewiseFlatForwardTest);    runner.addTest(new RiskStatisticsTest);    runner.addTest(new Solver1DTest);    runner.addTest(new StatisticsTest);    runner.addTest(SimpleSwapTest::suite());    runner.addTest(TermStructureTest::suite());    std::string header = "Testing QuantLib " QL_VERSION ;    std::cerr << std::string(header.length(),'=') << std::endl;    std::cerr << header << std::endl;    std::cerr << std::string(header.length(),'=');    std::cerr.flush();    bool succeeded = runner.run();    return succeeded ? 0 : 1;}