aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-11-14 15:13:43 +0200
committerRiccardo Spagni <ric@spagni.net>2017-11-14 15:13:44 +0200
commit8df6b010eb83a77c2249f385d56af9bbe7d42978 (patch)
treef39922662a020c8cb9626ef343e8bf4dfd15a397 /tests/unit_tests
parentMerge pull request #2691 (diff)
parentInitialize openssl on startup (diff)
downloadmonero-8df6b010eb83a77c2249f385d56af9bbe7d42978.tar.xz
Merge pull request #2696
937e7f8a Initialize openssl on startup (moneromooo-monero)
Diffstat (limited to 'tests/unit_tests')
-rw-r--r--tests/unit_tests/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
index 1706c43c9..a6d398883 100644
--- a/tests/unit_tests/main.cpp
+++ b/tests/unit_tests/main.cpp
@@ -35,6 +35,7 @@
#include "include_base_utils.h"
#include "common/command_line.h"
+#include "common/util.h"
#include "unit_tests_utils.h"
namespace po = boost::program_options;
@@ -43,6 +44,7 @@ boost::filesystem::path unit_test::data_dir;
int main(int argc, char** argv)
{
+ tools::on_startup();
epee::string_tools::set_module_name_and_folder(argv[0]);
mlog_configure(mlog_get_default_log_path("unit_tests.log"), true);
epee::debug::get_set_enable_assert(true, false);