File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ IF (VTK_USE_RENDERING AND VTK_USE_DISPLAY)
3
3
# Add tests
4
4
#
5
5
IF (VTK_DATA_ROOT )
6
+ set (cubeAxes2Error 13 )
6
7
FOREACH ( tfile
7
8
3DMorph
8
9
appendImplicitModel
@@ -52,12 +53,18 @@ IF (VTK_USE_RENDERING AND VTK_USE_DISPLAY)
52
53
xyPlot3
53
54
xyPlot4
54
55
)
56
+ IF (${${tfile}Error} )
57
+ SET (_error_threshold ${${tfile}Error} )
58
+ ELSE ()
59
+ SET (_error_threshold 10 )
60
+ ENDIF ()
55
61
ADD_TEST (${tfile} -image ${VTK_EXECUTABLE}
56
62
${VTK_SOURCE_DIR} /Common/Testing/Tcl/rtImageTest.tcl
57
63
${VTK_SOURCE_DIR} /Hybrid/Testing/Tcl/${tfile}.tcl
58
64
-D ${VTK_DATA_ROOT}
59
65
-V Baseline/Hybrid/${tfile}.png
60
- -A ${VTK_SOURCE_DIR} /Wrapping/Tcl )
66
+ -A ${VTK_SOURCE_DIR} /Wrapping/Tcl
67
+ -E ${_error_threshold} )
61
68
ENDFOREACH ( tfile )
62
69
#
63
70
# If we do not have the data, still run the tests that we can
You can’t perform that action at this time.
0 commit comments