summaryrefslogtreecommitdiff
path: root/render-test/render_test.cpp
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-12-12 15:43:44 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-12-12 17:03:25 +0200
commit91ba9b655ec7e9f1311a7aefa32c28f231fa8c2c (patch)
tree3919020ca6af6d8db747ae65f392356b86beaf15 /render-test/render_test.cpp
parent31742317e83113f54f6e13db09c7e90203a1917a (diff)
downloadqtlocation-mapboxgl-91ba9b655ec7e9f1311a7aefa32c28f231fa8c2c.tar.gz
[test-runner] Don't update nor create metrics baseline for ignored test
Diffstat (limited to 'render-test/render_test.cpp')
-rw-r--r--render-test/render_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/render-test/render_test.cpp b/render-test/render_test.cpp
index 13d6992e43..4be6d4abc1 100644
--- a/render-test/render_test.cpp
+++ b/render-test/render_test.cpp
@@ -169,7 +169,7 @@ int runRenderTests(int argc, char** argv, std::function<void()> testStatus) {
const std::string ignoreName = id;
const auto it = std::find_if(ignores.cbegin(), ignores.cend(), [&ignoreName](auto pair) { return pair.first == ignoreName; });
if (it != ignores.end()) {
- shouldIgnore = true;
+ metadata.ignoredTest = shouldIgnore = true;
ignoreReason = it->second;
if (ignoreReason.rfind("skip", 0) == 0) {
printf(ANSI_COLOR_GRAY "* skipped %s (%s)" ANSI_COLOR_RESET "\n", id.c_str(), ignoreReason.c_str());