summaryrefslogtreecommitdiff
path: root/render-test/parser.hpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-08-28 11:57:40 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-08-28 13:55:36 +0300
commit9a42bdd7aea0f23e892f2874be6c18acf2b0f0ae (patch)
treeadbf60a0bb2f4298159c0042206b370f7c77d1c7 /render-test/parser.hpp
parent6ee69e7493d8c3905d20ab7908543ed0b2d623b1 (diff)
downloadqtlocation-mapboxgl-9a42bdd7aea0f23e892f2874be6c18acf2b0f0ae.tar.gz
[core] Add filtering option to test-runner
This change adds filter command line option to render test runner, so that test can be filtered by providing regular expression, for instance: mbgl-render-test -f .*hillshade.*
Diffstat (limited to 'render-test/parser.hpp')
-rw-r--r--render-test/parser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/parser.hpp b/render-test/parser.hpp
index 483089266e..94fb212944 100644
--- a/render-test/parser.hpp
+++ b/render-test/parser.hpp
@@ -12,7 +12,7 @@
using ErrorMessage = std::string;
using JSONReply = mbgl::variant<mbgl::JSDocument, ErrorMessage>;
-using ArgumentsTuple = std::tuple<bool, bool, uint32_t, std::string, std::vector<std::string>>;
+using ArgumentsTuple = std::tuple<bool, bool, uint32_t, std::string, std::vector<TestPaths>>;
JSONReply readJson(const mbgl::filesystem::path&);
std::string serializeJsonValue(const mbgl::JSValue&);