mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Raise log level before running unit tests.
This commit is contained in:
12
src/main.cpp
12
src/main.cpp
@@ -1,15 +1,16 @@
|
||||
|
||||
#include "Application.h"
|
||||
#include "CallRPC.h"
|
||||
#include "Config.h"
|
||||
#include "utils.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <boost/foreach.hpp>
|
||||
#include <boost/program_options.hpp>
|
||||
#include <boost/test/included/unit_test.hpp>
|
||||
|
||||
#include "Application.h"
|
||||
#include "CallRPC.h"
|
||||
#include "Config.h"
|
||||
#include "utils.h"
|
||||
#include "Log.h"
|
||||
|
||||
namespace po = boost::program_options;
|
||||
|
||||
extern bool AddSystemEntropy();
|
||||
@@ -111,6 +112,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
else if (argc >= 2 && !strcmp(argv[1], "--test")) {
|
||||
bTest = true;
|
||||
Log::setMinSeverity(lsTRACE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user