summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/test.cpp
blob: fbc67f680c3333883cfc16df1135100f417f1334 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <mbgl/actor/scheduler.hpp>
#include <mbgl/test.hpp>
#include <mbgl/test/util.hpp>

#include <gtest/gtest.h>

namespace mbgl {

int runTests(int argc, char *argv[]) {
#if TEST_HAS_SERVER
    auto server = std::make_unique<test::HttpServer>();
#endif

    testing::InitGoogleTest(&argc, argv);

    return RUN_ALL_TESTS();
}

} // namespace mbgl