diff options
author | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-08 16:49:57 +0200 |
---|---|---|
committer | Juha Alanen <juha.alanen@mapbox.com> | 2020-01-10 17:19:30 +0200 |
commit | d3b5f06c8e1366775575685021ec0b17482a14d2 (patch) | |
tree | 4b9fa2e845e16d1e3f61f30bf2e7940c89e58f90 /test/style | |
parent | f4385a11d2c236f3f8ddffd5be52016f8a3b4e77 (diff) | |
download | qtlocation-mapboxgl-d3b5f06c8e1366775575685021ec0b17482a14d2.tar.gz |
[test] Skip number-format expression tests on Android
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/expression/expression.test.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/style/expression/expression.test.cpp b/test/style/expression/expression.test.cpp index a289d7600b..bffadf1668 100644 --- a/test/style/expression/expression.test.cpp +++ b/test/style/expression/expression.test.cpp @@ -89,6 +89,12 @@ INSTANTIATE_TEST_CASE_P(Expression, ExpressionEqualityTest, ::testing::ValuesIn( if (dir != nullptr) { for (dirent *dp = nullptr; (dp = readdir(dir)) != nullptr;) { const std::string name = dp->d_name; +#if ANDROID + // Android unit test uses number-format stub implementation so skip the tests + if (name.find("number-format") != std::string::npos) { + continue; + } +#endif if (name.length() >= ending.length() && name.compare(name.length() - ending.length(), ending.length(), ending) == 0) { names.push_back(name.substr(0, name.length() - ending.length())); } |