summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/test.cpp
blob: 4c3dad1727a886f4ac15d404bca01fd53900ca0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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