diff --git a/src/cpp/ripple/ripple_Main.cpp b/src/cpp/ripple/ripple_Main.cpp index b46bbb9d80..665c2a8b71 100644 --- a/src/cpp/ripple/ripple_Main.cpp +++ b/src/cpp/ripple/ripple_Main.cpp @@ -115,11 +115,23 @@ void printHelp (const po::options_description& desc) //------------------------------------------------------------------------------ +// OUr custom unit test runner +class RippleUnitTests : public UnitTests +{ +public: + void logMessage (String const& message) + { + Log::out () << message.toStdString (); + } +}; + +//------------------------------------------------------------------------------ + /** Run the Beast unit tests. */ static void runBeastUnitTests () { - UnitTests tr; + RippleUnitTests tr; tr.setAssertOnFailure (false); tr.setPassesAreLogged (false);