Merge pull request #11272 from alalek:gdal_test_exclude_rle8

This commit is contained in:
Vadim Pisarevsky 2018-04-09 13:17:14 +00:00
commit 8ceb6f2279

View File

@ -110,7 +110,8 @@ INSTANTIATE_TEST_CASE_P(All, Imgcodecs_FileMode,
struct notForGDAL {
bool operator()(const string &name) const {
const string &ext = name.substr(name.size() - 3, 3);
return ext == "hdr" || ext == "dcm" || ext == "jp2";
return ext == "hdr" || ext == "dcm" || ext == "jp2" ||
name.find("rle8.bmp") != std::string::npos;
}
};