summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-01-09 09:30:52 +1100
committerLeith Bade <leith@mapbox.com>2015-01-09 09:30:52 +1100
commit5ed8d4544f2e0cb5f78a6960a6378d7ed4eb7620 (patch)
treeb8d882c4ea4264bce5fcb9557397c37130a4c833 /test
parent3127301976bfa66e2782905100382fe906e721c6 (diff)
parent166a3e21fac8632cdf5afdf4d38bf429e45dc699 (diff)
downloadqtlocation-mapboxgl-5ed8d4544f2e0cb5f78a6960a6378d7ed4eb7620.tar.gz
Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-mason
Diffstat (limited to 'test')
-rw-r--r--test/headless.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/headless.cpp b/test/headless.cpp
index ee1e9648f0..dfa649da5d 100644
--- a/test/headless.cpp
+++ b/test/headless.cpp
@@ -222,7 +222,7 @@ INSTANTIATE_TEST_CASE_P(Headless, HeadlessTest, ::testing::ValuesIn([] {
for (dirent *dp = nullptr; (dp = readdir(dir)) != nullptr;) {
const std::string name = dp->d_name;
- if (name != "." && name != ".." && name != "index.html") {
+ if (name != "index.html" && !(name.size() >= 1 && name[0] == '.')) {
names.push_back(name);
}
}