A year or two ago, an effort was made to make sure that vtkErrorMacro
codepaths would cause a test to fail. Bill Lorensen wrote the vtkTestErrorObserver
class which may be used to capture errors from a specific vtkObject
and be used to ensure that a specific error does show up. This worked well until loguru
started being used which made the error messages not match the old logger’s output format.
The new error format was not caught by the “did an error happen?” regex and numerous new ones have shown up in the meantime. This has been resolved recently (see this MR) and we have a number of tests which have error messages leaking out. It is unknown if some of these errors are expected (in which case vtkTestErrorObserver
should be used) or if they are real errors that need addressed.
The list of tests which seem to be affected:
([ ]
== unclaimed, [x]
== claimed, [X]
== fixed)
- [x ] VTK::FiltersModelingCxx-UnitTestHausdorffDistancePointSetFilter
- [ ] VTK::ImagingCorePython-imageMCAll
- [ ] VTK::IOADIOS2Cxx-TestIOADIOS2VTX_VTI3D
- [ ] VTK::IOADIOS2Cxx-TestIOADIOS2VTX_VTU3D
- [X] VTK::FiltersCoreCxx-TestExplicitStructuredGridCrop
- [X] VTK::FiltersCoreCxx-TestUnstructuredGridToExplicitStructuredGrid
- [X] VTK::FiltersCoreCxx-TestUnstructuredGridToExplicitStructuredGridEmpty
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridBinary2DVector
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridBinaryEllipseMaterial
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridBinaryHyperbolicParaboloidMaterial
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridTernary3DAxisClipBox
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridTernary3DGeometryLargeMaterialBits
- [x] VTK::FiltersHyperTreeCxx-TestHyperTreeGridTernaryHyperbola
- [x] VTK::FiltersSourcesCxx-TestCapsuleSource
- [x] VTK::IOExportCxx-X3DTest
- [x] VTK::IOXMLPython-TestEmptyXML
- [x] VTK::IOXMLPython-TestWriteReadRandomHyperTreeGridAppendBinaryMode1
- [X] VTK::AcceleratorsVTKmFiltersCxx-TestVTKMCoordinateSystemTransform
- [X] VTK::AcceleratorsVTKmFiltersCxx-TestVTKMHistogram
- [X] VTK::AcceleratorsVTKmFiltersCxx-TestVTKMNDHistogram
- [X] VTK::InteractionWidgetsCxx-TestCoincidentHandleWidgets
- [X] VTK::InteractionWidgetsCxx-TestPointHandleRepresentation3D
If developers could please take a test or set of tests to investigate, that would be immensely helpful.
Thanks,