Commit 468fa3eb authored by Julien Osman's avatar Julien Osman

ENH: Avoid comparing OTB_VERSION when testing metadata

parent 70c8667b
......@@ -1717,11 +1717,13 @@ int TestHelper::RegressionTestMetaData(const char* testImageFilename, const char
{});
// Compare extra keys (strict equality)
// Compare extra keys
// Don't test OTB_VERSION, as it change with the version of OTB used
std::vector<std::string> untestedExtra = {"OTB_VERSION"};
errcount += CompareMetadataDict(baselineImageMetadata.ExtraKeys,
testImageMetadata.ExtraKeys,
m_ReportErrors,
{});
untestedExtra);
if (baselineImageMetadata.Has(MDGeom::RPC))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment