Fixed GDAL loader check
This commit is contained in:
@@ -104,7 +104,8 @@ TEST(Imgcodecs_imread, regression)
|
||||
ASSERT_TRUE(imread_compare(folder + string(filenames[i]), IMREAD_COLOR));
|
||||
ASSERT_TRUE(imread_compare(folder + string(filenames[i]), IMREAD_ANYDEPTH));
|
||||
ASSERT_TRUE(imread_compare(folder + string(filenames[i]), IMREAD_ANYCOLOR));
|
||||
ASSERT_TRUE(imread_compare(folder + string(filenames[i]), IMREAD_LOAD_GDAL));
|
||||
if (i != 2) // GDAL does not support hdr
|
||||
ASSERT_TRUE(imread_compare(folder + string(filenames[i]), IMREAD_LOAD_GDAL));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -684,7 +685,7 @@ public:
|
||||
compare(IMREAD_COLOR);
|
||||
compare(IMREAD_ANYDEPTH);
|
||||
compare(IMREAD_ANYCOLOR);
|
||||
compare(IMREAD_LOAD_GDAL);
|
||||
// compare(IMREAD_LOAD_GDAL); // GDAL does not support multi-page TIFFs
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user