-
- Downloads
BUG: Enabled floating point exceptions for tests
The dynamic analysis tests have uncovered a number of floating point exceptions, mainly divide by zero. This MR enables floating point exceptions if tests are built with a debug build type and the compiler is a gnu compiler. Safety guards have been added to classes that exhibited exceptions. TestAdjustLowerBoundForLogPlot.cxx - Tried to take log10 of negative number TestlinePlotDouble - inf and nan used in test. Disable exceptions vtkChart.cxx - guards to protect against zero divide vtkChartBox.cxx - guards to protect against zero divide vtkInteractiveArea.cxx - trying to take log10 of negative number vtkPiecewisePointHandleItem.cxx - protect against degenerate lines vtkAMRSliceFilter.cxx - protect against zero length vector vtkLagrangianBasicIntegrationModel.cxx - guards to protect against zero divide UnitTestMultiThreshold - disable exceptions for one test that uses Nan() vtkIntersectionPolyDataFilter.cxx - guard acos range vtkPCAStatistics.cxx - guards to protect against zero divide vtkCubeAxesActor.cxx - guard against log10(0.0) vtkColorTransferFunction.cxx - guard to protect against zero divide TestGPURayCastIsosurface.cxx - disable exceptions, possible driver issue vtkDendrogramItem.cxx - check for degenrate line vtkDendrogramItem.h - comparison doesn't meet irreflexive requirements
Showing
- CMake/vtkTestingRenderingDriver.cmake 3 additions, 0 deletionsCMake/vtkTestingRenderingDriver.cmake
- Charts/Core/Testing/Cxx/TestAdjustLowerBoundForLogPlot.cxx 3 additions, 3 deletionsCharts/Core/Testing/Cxx/TestAdjustLowerBoundForLogPlot.cxx
- Charts/Core/Testing/Cxx/TestLinePlotDouble.cxx 5 additions, 1 deletionCharts/Core/Testing/Cxx/TestLinePlotDouble.cxx
- Charts/Core/Testing/Data/Baseline/TestAdjustLowerBoundForLogPlot.png.sha512 1 addition, 1 deletion...g/Data/Baseline/TestAdjustLowerBoundForLogPlot.png.sha512
- Charts/Core/vtkChart.cxx 23 additions, 4 deletionsCharts/Core/vtkChart.cxx
- Charts/Core/vtkChartBox.cxx 9 additions, 2 deletionsCharts/Core/vtkChartBox.cxx
- Charts/Core/vtkInteractiveArea.cxx 2 additions, 2 deletionsCharts/Core/vtkInteractiveArea.cxx
- Charts/Core/vtkPiecewisePointHandleItem.cxx 16 additions, 4 deletionsCharts/Core/vtkPiecewisePointHandleItem.cxx
- Filters/AMR/vtkAMRSliceFilter.cxx 5 additions, 3 deletionsFilters/AMR/vtkAMRSliceFilter.cxx
- Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.cxx 8 additions, 2 deletionsFilters/FlowPaths/vtkLagrangianBasicIntegrationModel.cxx
- Filters/General/Testing/Cxx/UnitTestMultiThreshold.cxx 3 additions, 1 deletionFilters/General/Testing/Cxx/UnitTestMultiThreshold.cxx
- Filters/General/vtkIntersectionPolyDataFilter.cxx 30 additions, 5 deletionsFilters/General/vtkIntersectionPolyDataFilter.cxx
- Filters/Statistics/vtkPCAStatistics.cxx 3 additions, 0 deletionsFilters/Statistics/vtkPCAStatistics.cxx
- Rendering/Annotation/Testing/Cxx/TestXYPlotActor.cxx 1 addition, 1 deletionRendering/Annotation/Testing/Cxx/TestXYPlotActor.cxx
- Rendering/Annotation/Testing/Data/Baseline/TestXYPlotActor.png.sha512 1 addition, 1 deletion...notation/Testing/Data/Baseline/TestXYPlotActor.png.sha512
- Rendering/Annotation/Testing/Data/Baseline/TestXYPlotActor_3.png.sha512 1 addition, 1 deletion...tation/Testing/Data/Baseline/TestXYPlotActor_3.png.sha512
- Rendering/Annotation/vtkCubeAxesActor.cxx 2 additions, 2 deletionsRendering/Annotation/vtkCubeAxesActor.cxx
- Rendering/Core/vtkColorTransferFunction.cxx 4 additions, 1 deletionRendering/Core/vtkColorTransferFunction.cxx
- Rendering/VolumeOpenGL2/Testing/Cxx/TestGPURayCastIsosurface.cxx 11 additions, 1 deletion...ng/VolumeOpenGL2/Testing/Cxx/TestGPURayCastIsosurface.cxx
- Views/Infovis/vtkDendrogramItem.cxx 5 additions, 0 deletionsViews/Infovis/vtkDendrogramItem.cxx
Loading
Please register or sign in to comment