summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/test/tests_runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/tdlib/td/test/tests_runner.cpp')
-rw-r--r--protocols/Telegram/tdlib/td/test/tests_runner.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/protocols/Telegram/tdlib/td/test/tests_runner.cpp b/protocols/Telegram/tdlib/td/test/tests_runner.cpp
new file mode 100644
index 0000000000..0edb186f0a
--- /dev/null
+++ b/protocols/Telegram/tdlib/td/test/tests_runner.cpp
@@ -0,0 +1,18 @@
+//
+// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2018
+//
+// Distributed under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
+//
+#include "test/tests_runner.h"
+
+#include "test/TestsRunner.h"
+
+extern "C" {
+void tests_runner_init(const char *dir) {
+ td::TestsRunner::init(dir);
+}
+void run_all_tests() {
+ td::TestsRunner::run_all_tests();
+}
+}