Commit a4174e69 authored by Berk Geveci's avatar Berk Geveci
Browse files

Disabled part of the test that can never pass.

Xdmf always reads polydata as unstructured grid. The memory  usage
of unstructured is always different than polydata so the two should
not be compared. Disabled.
parent c3b4507c
......@@ -94,7 +94,9 @@ bool DoDataObjectsDiffer(vtkDataObject *dobj1, vtkDataObject *dobj2)
cerr << "Number of field arrays test failed" << endl;
return true;
}
if (dobj1->GetActualMemorySize()!=dobj2->GetActualMemorySize())
if (!dobj1->IsA("vtkPolyData") &&
!dobj1->IsA("vtkMultiBlockDataSet") &&
dobj1->GetActualMemorySize()!=dobj2->GetActualMemorySize())
{
cerr << "Mem size test failed" << endl;
return true;
......
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