From 2fcfc2a939df12e7abf75a9e5659a82728b805f2 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 15 Apr 2016 13:18:31 -0700 Subject: [PATCH] [ios] Don't try to launch test server (#4719) --- test/src/mbgl/test/test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/src/mbgl/test/test.cpp b/test/src/mbgl/test/test.cpp index 37447f9d9..39afcc97e 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/storage/server.js"); +#endif + testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }