summaryrefslogtreecommitdiff
path: root/render-test/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'render-test/parser.cpp')
-rw-r--r--render-test/parser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/render-test/parser.cpp b/render-test/parser.cpp
index 024adf91d1..e9df704941 100644
--- a/render-test/parser.cpp
+++ b/render-test/parser.cpp
@@ -365,11 +365,11 @@ ArgumentsTuple parseArguments(int argc, char** argv) {
std::vector<mbgl::filesystem::path> paths;
for (const auto& id : args::get(testNameValues)) {
- paths.emplace_back(TestRunner::getBasePath() + "/" + id);
+ paths.emplace_back(rootPath / id);
}
if (paths.empty()) {
- paths.emplace_back(TestRunner::getBasePath());
+ paths.emplace_back(rootPath);
}
// Recursively traverse through the test paths and collect test directories containing "style.json".