imgcodecs: exclude rle8.bmp from GDAL tests

GDAL message:
- ERROR 1: The BMP file is probably corrupted or too large. Image width = 480
This commit is contained in:
Alexander Alekhin 2018-04-09 13:18:33 +03:00
parent 6a15910f0f
commit a22ee76b45

View File

@ -110,7 +110,8 @@ INSTANTIATE_TEST_CASE_P(All, Imgcodecs_FileMode,
struct notForGDAL { struct notForGDAL {
bool operator()(const string &name) const { bool operator()(const string &name) const {
const string &ext = name.substr(name.size() - 3, 3); 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;
} }
}; };