summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/test.cpp
blob: 12a3dff72082ff1108be34492ad017bc17b81a62 (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::Server>("test/storage/server.js");
#endif

    testing::InitGoogleTest(&argc, argv);

    return RUN_ALL_TESTS();
}

} // namespace mbgl