diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-15 13:18:31 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-15 13:18:31 -0700 |
commit | 2fcfc2a939df12e7abf75a9e5659a82728b805f2 (patch) | |
tree | cad90ccf28804c32ff1f201115b39a3d83d18fe9 /test | |
parent | 70362662f77d63d4ad699b1a139cd084006e1525 (diff) | |
download | qtlocation-mapboxgl-2fcfc2a939df12e7abf75a9e5659a82728b805f2.tar.gz |
[ios] Don't try to launch test server (#4719)
Diffstat (limited to 'test')
-rw-r--r-- | test/src/mbgl/test/test.cpp | 3 |
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(); } |