aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit_tests/main.cpp')
-rw-r--r--tests/unit_tests/main.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/unit_tests/main.cpp b/tests/unit_tests/main.cpp
new file mode 100644
index 000000000..65bf247d8
--- /dev/null
+++ b/tests/unit_tests/main.cpp
@@ -0,0 +1,15 @@
+// Copyright (c) 2012-2013 The Cryptonote developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#include "gtest/gtest.h"
+
+#include "include_base_utils.h"
+
+int main(int argc, char** argv)
+{
+ epee::debug::get_set_enable_assert(true, false);
+
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}