summaryrefslogtreecommitdiff
path: root/test/storage
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-02-03 16:18:37 +0100
committerKonstantin Käfer <mail@kkaefer.com>2015-02-04 11:54:01 +0100
commit73f7db9af2f76593856d64349a376412d292cd15 (patch)
treedb311e489246d41e6386f4c8bcc14da17e634c66 /test/storage
parentf007c420ed4e2eadaedbbdd1c29912c6c8142fa1 (diff)
downloadqtlocation-mapboxgl-73f7db9af2f76593856d64349a376412d292cd15.tar.gz
cleanup makefiles
Diffstat (limited to 'test/storage')
-rw-r--r--test/storage/storage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/storage/storage.cpp b/test/storage/storage.cpp
index 99386a02ce..ddc6fef5fb 100644
--- a/test/storage/storage.cpp
+++ b/test/storage/storage.cpp
@@ -1,9 +1,11 @@
#include "storage.hpp"
+#include <mbgl/platform/platform.hpp>
+
pid_t Storage::pid = 0;
void Storage::SetUpTestCase() {
- const auto server = mbgl::test::getBaseDirectory() + "/storage/server.js";
+ const auto server = mbgl::platform::applicationRoot() + "/TEST_DATA/storage/server.js";
pid = mbgl::test::startServer(server.c_str());
}