imgcodecs: exclude rle8.bmp from GDAL tests

GDAL message:
- ERROR 1: The BMP file is probably corrupted or too large. Image width = 480
pull/11272/head
Alexander Alekhin 7 years ago
parent 6a15910f0f
commit a22ee76b45
  1. 3
      modules/imgcodecs/test/test_grfmt.cpp

@ -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;
}
};

Loading…
Cancel
Save