asset:// URLs are local to the executable path now
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#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";
|
||||
fprintf(stderr, "server: %s\n", server.c_str());
|
||||
const auto server = mbgl::platform::applicationRoot() + "/TEST_DATA/storage/server.js";
|
||||
pid = mbgl::test::startServer(server.c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user