execute the correct server path and use the exepath for application root rather than the cwd
This commit is contained in:
committed by
Konstantin Käfer
parent
1c91f09fda
commit
6f349a796c
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user