summaryrefslogtreecommitdiff
path: root/render-test/parser.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-09 22:00:30 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-10-10 01:59:58 +0300
commit422195de9068e9288e09f928969af7de3e830312 (patch)
tree8e4a349dd03563a5f05d2a40e37e0c0df2624f98 /render-test/parser.cpp
parent94a70f9955c30d6e6694250c6e7e31cd88b9891a (diff)
downloadqtlocation-mapboxgl-upstream/tmpsantos-binary_size.tar.gz
[render-test] Add tests for filesize probeupstream/tmpsantos-binary_size
And make sure we run it on the bots
Diffstat (limited to 'render-test/parser.cpp')
-rw-r--r--render-test/parser.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/render-test/parser.cpp b/render-test/parser.cpp
index f1af0a1dae..e1c7a14028 100644
--- a/render-test/parser.cpp
+++ b/render-test/parser.cpp
@@ -421,15 +421,17 @@ std::vector<std::pair<std::string, std::string>> parseIgnores() {
auto mainIgnoresPath = mbgl::filesystem::path(TEST_RUNNER_ROOT_PATH).append("platform/node/test/ignores.json");
mbgl::filesystem::path platformSpecificIgnores;
+ mbgl::filesystem::path ownTestsIgnores =
+ mbgl::filesystem::path(TEST_RUNNER_ROOT_PATH).append("render-test/tests/should-fail.json");
#ifdef __APPLE__
platformSpecificIgnores = mbgl::filesystem::path(TEST_RUNNER_ROOT_PATH).append("render-test/mac-ignores.json");
#elif __linux__
platformSpecificIgnores = mbgl::filesystem::path(TEST_RUNNER_ROOT_PATH).append("render-test/linux-ignores.json");
#endif
-
- std::vector<mbgl::filesystem::path> ignoresPaths = { mainIgnoresPath, platformSpecificIgnores };
- for (auto path: ignoresPaths) {
+
+ std::vector<mbgl::filesystem::path> ignoresPaths = {mainIgnoresPath, platformSpecificIgnores, ownTestsIgnores};
+ for (auto path : ignoresPaths) {
auto maybeIgnores = readJson(path);
if (!maybeIgnores.is<mbgl::JSDocument>()) {
continue;