From 026e15fe3d6dae0c3f11775d19dcfc13743ff1c0 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 9 Oct 2019 19:11:31 +0300 Subject: [render-test] Fix rootPath parameter being ignored It was doing nothing and always using the default root path. --- render-test/parser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'render-test/parser.cpp') 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 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". -- cgit v1.2.1