diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-01-23 02:54:20 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-02-04 10:49:07 +0100 |
commit | 6f349a796c718b598acd72d541eea7bcc4649325 (patch) | |
tree | fd619e3d49d5eab0cd48ea403b513be811c273aa /test/storage | |
parent | 1c91f09fdafdaced5b48ac66390bc9733e50a4c8 (diff) | |
download | qtlocation-mapboxgl-6f349a796c718b598acd72d541eea7bcc4649325.tar.gz |
execute the correct server path and use the exepath for application root rather than the cwd
Diffstat (limited to 'test/storage')
-rw-r--r-- | test/storage/storage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/storage/storage.cpp b/test/storage/storage.cpp index 5dbd13dcd5..99386a02ce 100644 --- a/test/storage/storage.cpp +++ b/test/storage/storage.cpp @@ -1,10 +1,9 @@ #include "storage.hpp" -#include <mbgl/platform/platform.hpp> pid_t Storage::pid = 0; void Storage::SetUpTestCase() { - const auto server = mbgl::platform::applicationRoot() + "/TEST_DATA/storage/server.js"; + const auto server = mbgl::test::getBaseDirectory() + "/storage/server.js"; pid = mbgl::test::startServer(server.c_str()); } |