[test-runner] Allow to define filter inside manifest file

Command line option is still available and allows to override filter
that is defined in a manifest file.
This commit is contained in:
Alexander Shalamov
2019-12-03 13:15:45 +02:00
parent 75f8530ed1
commit 41324842b2
7 changed files with 22 additions and 16 deletions

View File

@@ -101,9 +101,6 @@ ArgumentsTuple parseArguments(int argc, char** argv) {
mbgl::Log::Info(mbgl::Event::General, stream.str());
mbgl::Log::Error(mbgl::Event::General, e.what());
exit(2);
} catch (const std::regex_error& e) {
mbgl::Log::Error(mbgl::Event::General, "Invalid filter regular expression: %s", e.what());
exit(3);
}
mbgl::filesystem::path manifestPath{testPathValue ? args::get(testPathValue) : std::string{TEST_RUNNER_ROOT_PATH}};