summaryrefslogtreecommitdiff
path: root/render-test/manifest_parser.hpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-11-26 11:54:08 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-11-27 16:43:33 +0200
commit2f8501043cb037234a5db82a2f32b49b29fdf8c8 (patch)
treebf662d30afa66b79aba4ec8afaaab0d8246c5e79 /render-test/manifest_parser.hpp
parentf10097640a8a62f9a139952844a75ac9b0b12543 (diff)
downloadqtlocation-mapboxgl-2f8501043cb037234a5db82a2f32b49b29fdf8c8.tar.gz
[test-runner] Move probe related command line args to manifest
- Move probe related command line arguments to manifest, example: "probes": ["probeGFX", "probeNetwork", "probeMemory"], "metric_path": "metrics/linux" - Use manifest file name as a postfix for a result page - Move injected probes 'begin' section before map object creation - Generalize artifact storing shell script
Diffstat (limited to 'render-test/manifest_parser.hpp')
-rw-r--r--render-test/manifest_parser.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/render-test/manifest_parser.hpp b/render-test/manifest_parser.hpp
index c4672fb4c5..8e2c45efde 100644
--- a/render-test/manifest_parser.hpp
+++ b/render-test/manifest_parser.hpp
@@ -20,6 +20,7 @@ public:
const std::string& getAssetPath() const;
const std::string& getManifestPath() const;
const std::string& getResultPath() const;
+ const std::set<std::string>& getProbes() const;
void doShuffle(uint32_t seed);
std::string localizeURL(const std::string& url) const;
@@ -48,6 +49,7 @@ private:
std::string resultPath;
std::vector<std::pair<std::string, std::string>> ignores;
std::vector<TestPaths> testPaths;
+ std::set<std::string> probes;
};
class ManifestParser {