mirror of
https://github.com/opencv/opencv.git
synced 2025-06-08 01:53:19 +08:00
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:
parent
6a15910f0f
commit
a22ee76b45
@ -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…
Reference in New Issue
Block a user