diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-10-09 22:00:30 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-10-10 19:54:51 +0300 |
commit | 629c0e1142a382ada101e93e7c58bd2b1bce37bc (patch) | |
tree | a97af3a7b2359c2e525f73d759beac8f2fae74bd /render-test/parser.cpp | |
parent | 2e002746eb6fcbf389fd4c59fa55bd8ee527076f (diff) | |
download | qtlocation-mapboxgl-629c0e1142a382ada101e93e7c58bd2b1bce37bc.tar.gz |
[render-test] Add tests for filesize probe
And make sure we run it on the bots
Diffstat (limited to 'render-test/parser.cpp')
-rw-r--r-- | render-test/parser.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/render-test/parser.cpp b/render-test/parser.cpp index 613fc566ea..3da7e6ea01 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 (const auto& path : ignoresPaths) { auto maybeIgnores = readJson(path); if (!maybeIgnores.is<mbgl::JSDocument>()) { continue; |