summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-15 13:18:31 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-15 13:18:31 -0700
commit2fcfc2a939df12e7abf75a9e5659a82728b805f2 (patch)
treecad90ccf28804c32ff1f201115b39a3d83d18fe9 /test/src
parent70362662f77d63d4ad699b1a139cd084006e1525 (diff)
downloadqtlocation-mapboxgl-2fcfc2a939df12e7abf75a9e5659a82728b805f2.tar.gz
[ios] Don't try to launch test server (#4719)
Diffstat (limited to 'test/src')
-rw-r--r--test/src/mbgl/test/test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/src/mbgl/test/test.cpp b/test/src/mbgl/test/test.cpp
index 37447f9d94..39afcc97e4 100644
--- a/test/src/mbgl/test/test.cpp
+++ b/test/src/mbgl/test/test.cpp
@@ -6,7 +6,10 @@
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();
}