diff options
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(); } |