1 puts "REQUIRED ALL: Faulty shapes in variables faulty_1 to faulty_2"
6 puts "Checkshape command does not return faulty shapes."
9 #########################################################
10 ## Command "checkshape" "gives" exception during attempt to check attached shape.
11 #########################################################
13 restore [locate_data_file bug21246.brep] result
15 set info [checkshape result]
17 if { [regexp "Faulty shapes in variables faulty_1 to faulty_2" ${info}] != 1 } {
19 puts "OK : Good result of checkshape"
21 } elseif { [regexp "Problems are not detected" $info] == 1 } {
23 puts "Error : Wrong result of checkshape"
26 checkview -display result -2d -path ${imagedir}/${test_image}.png