mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update for Beast 1.0.0-b13
This commit is contained in:
@@ -44,6 +44,7 @@
|
|||||||
#include <google/protobuf/stubs/common.h>
|
#include <google/protobuf/stubs/common.h>
|
||||||
#include <boost/program_options.hpp>
|
#include <boost/program_options.hpp>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
#include <iostream>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|
||||||
@@ -168,12 +169,12 @@ static int runUnitTests(
|
|||||||
std::string const& argument)
|
std::string const& argument)
|
||||||
{
|
{
|
||||||
using namespace beast::unit_test;
|
using namespace beast::unit_test;
|
||||||
beast::unit_test::dstream dlog;
|
beast::unit_test::dstream dout{std::cout};
|
||||||
reporter r(dlog);
|
reporter r{dout};
|
||||||
r.arg(argument);
|
r.arg(argument);
|
||||||
bool const failed (r.run_each_if (
|
bool const anyFailed = r.run_each_if(
|
||||||
global_suites(), match_auto (pattern)));
|
global_suites(), match_auto(pattern));
|
||||||
if (failed)
|
if(anyFailed)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user