Cleaned up logging during unit testing. Somehow this also fixed unit
test errors.
This commit is contained in:
1 parent
093ce9a0c3
commit
68cb21a0a9
3 files changed
+5
-14
No files matched your search
@@ -14,20 +14,6 @@ namespace bts {
|
||||
|
||||
int run_tests (std::vector<std::string> const&args)
|
||||
{
|
||||
|
||||
// these are necessary to work around an issue with the catch auto
|
||||
// registration
|
||||
// https://groups.google.com/forum/#!msg/catch-forum/FV0Qo62DvgY/jxEO6c9_q3kJ
|
||||
extern int config_tests; config_tests = 0;
|
||||
extern int config_ref_tests; config_ref_tests=0;
|
||||
extern int logging_tests; logging_tests=0;
|
||||
extern int quickbus_tests; quickbus_tests=0;
|
||||
extern int qb_rpc_tests; qb_rpc_tests=0;
|
||||
extern int qb_pubsub_tests; qb_rpc_tests=0;
|
||||
extern int md_tests; md_tests=42;
|
||||
extern int synthetic_book_merge_tests; synthetic_book_merge_tests = 0;
|
||||
extern int security_tests; security_tests = 0;
|
||||
|
||||
utils::internal::force_unittest_environment();
|
||||
|
||||
auto cfg = config::get<config::Logging> ();
|
||||
|
||||
Reference in new issue
Block a user